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 trialHadassah Davis
1,478 PointsYou need to set the 'href' attribute of the first <a> element to 'cakes.html' what does this mean? I am very confused.
what does this mean? I feel very stuck.
<!DOCTYPE html>
<html>
<head>
<title>Lists and Links</title>
</head>
<body>
<ul>
<li href="cakes.html"> Cakes</li>
<li href="pies.htm">Pies</li>
<li href="candy.html">Candy</li>
</ul>
</body>
</html>
2 Answers
tomd
16,701 PointsHi, you haven't got any <a> tags in your code. Nest <a> tags in <li> tags like this:
<li><a>Cakes</a></li>
Then add the 'href' attribute to the <a> tags.
Hadassah Davis
1,478 Pointsoh, thanks