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 trialMichaela Babic
7,720 PointsMade corrections to this one and its still not passing...
It keeps telling me I need to set the href of the second line item to pies.html and I can't spot whats wrong with it.
<!DOCTYPE html>
<html>
<head>
<title>Lists and Links</title>
</head>
<body>
<ul>
<a href= "cakes.html"></a><li>Cakes</li>
<a href= "pies.html"></a><li>Pies</li>
<a href= "candy.html"></a><li>Candy</li>
</ul>
</body>
</html>
1 Answer
Birte Müller
Front End Web Development Techdegree Graduate 16,026 PointsHi Michaela, currently, your a and li elements are separated from each other. Try to nest the a element inside the li element and link the text inside, like this <li><a href= "cakes.html">Cakes</a></li>
Cheers Birte
Michaela Babic
7,720 PointsMichaela Babic
7,720 PointsThank you!