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 trialSelemawit Gebremedhin
10,877 PointsMake the text inside each list item a link
Make the text inside each list item a link
<!DOCTYPE html>
<html>
<head>
<title>Lists and Links</title>
</head>
<body>
<ul>
<li><a>href="cakes.html"</a>Cakes</li>
<li><a>href="pies.html"</a>Pies</li>
<li><a>href="candy.html"</a>Candy</li>
</ul>
</body>
</html>
1 Answer
Steven Parker
231,248 PointsYou're close, but the "href" property and value needs to go inside the start tag (before the ">" symbol). And then the name will go between the tags:
<li><a>href="cakes.html"</a>Cakes</li> <!-- instead of this -->
<li><a href="cakes.html">Cakes</a></li> <!-- do this -->