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 trialRamon Major
105 Pointsi'm still not sure what i'm doing wrong. I feel like I've tried everything
still confused
<!DOCTYPE html>
<html>
<head>
<title>Lists and Links</title>
</head>
<body>
<ul>
<li>
<a href="https//www.cakes.html"></a>Cakes
<li>
<a href="https//www.pies.html"></a>Pies</li>
<li>
<a href="https//www.candy.html"></a>Candy</li>
</ul>
</body>
</html>
3 Answers
Trevor Johnson
14,427 PointsHey Ramon, try wrapping the text within the a. Also copy the link exactly like it is. Adding the http//www won't work because it is asking to link to a particular file not a site so keep it the way it gives you in the challenge.
<ul>
<li>
<a href="cakes.html">Cakes</a>
<li>
<a href="pies.html">Pies</a></li>
<li>
<a href="candy.html">Candy</a></li>
</ul>
Jason Anders
Treehouse Moderator 145,860 PointsHey Ramon,
There are two things going wrong here.
- You are missing the closing </li> for the first item (Cakes)
- Instructions are meant to be taken explicitly and are very specific. For the second task, it asks you to link to
cakes.html, pies.html, and candy.html
, but you are linking tohttps//www.cakes.html, etc.
.
So, just add the closing tag and change your href
values to match that of the instructions exactly and everything will pass.
Keep Coding!
Nomzamo Sithole
61,838 PointsHey Ramon, you not placing your <li></li> tags incorrectly and place the text between the the <a></a> tags. Remember to copy the exactly href given to you in the question
<ul> <li><a href="cakes.html">Cakes</a><li> <li><a href="pies.html">Pies</a></li> <li><a href="candy.html">Candy</a></li> </ul>