Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialP S ANUJ KUMAR
495 PointsHTML LINKS- Challenge Task 2 of 2
Hello, I am not able to complete my challenge task 2 of 2. I am not able to link as per the question
<!DOCTYPE html>
<html>
<head>
<title>Lists and Links</title>
</head>
<body>
<ul>
<li><a href="Cakes"target="_cakes.html </a></li>
<li>Pies</li>
<li>Candy</li>
</ul>
</body>
</html>
1 Answer
Mike Hatch
14,940 PointsThree errors: You're including "Cakes" as part of the url, unnecessarily including target=
, and not including a closing right angle bracket. The url should be: cakes.html
.
The Challenge wants you to make the text "Cakes" a clickable link. You do this by surrounding it by the anchor tags: <a href="">blank text</a>
You do this for the other two list items as well.