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 trialMichael Croudep
2,404 PointsIt keeps telling me Task 1 isn't passing when trying to do task 2. What am I doing wrong?
I've completed task 1 correctly but when trying to add the menu link for task 2 it's not passing. Help please
<!doctype html>
<html>
<head>
<title>Al's Restaurant</title>
</head>
<body>
<ul class="nav">
<li><a href="#">Home</a></li>
<li><a href="food-gallery.html">Food Gallery</a></li>
<li><a href="menu.html>Menu</li> <a/>
</ul>
</body>
</html>
2 Answers
Jennifer Nordell
Treehouse TeacherHi there! The problem is, I believe, that your code should not have passed Task 1. You put the starting <a>
tag in the correct place, but you put the closing </a>
tag in the incorrect place. Check your two lines above that one. The </a>
should come immediately before the </li>
.
Hope this helps!
Michael Croudep
2,404 PointsIt helped a lot! Thank you so much.