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 triallee F
1,564 Pointshelp me quick
this bloody thing aint working its saying portfolio isnt linking to index.html...
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
Shawn Flanigan
Courses Plus Student 15,815 PointsI don't see a problem with this code, either. Can you show us the rest of your code?
lee F
1,564 PointsI missed the first closing a on the page which mucked it up! thanks all!
1 Answer
Michael Jurgensen
8,341 PointsHi Lee,
You need the list tags inside the anchor tags like this:
<nav>
<ul>
<a href = "index.html">
<li>Portfolio</li>
</a>
<a href = "about.html">
<li>About</li>
</a>
<a href = "contact.html">
<li>Contact</li>
</a>
</ul>
</nav>
Jason Anello
Courses Plus Student 94,610 PointsThat's invalid html.
The direct children of a <ul>
have to be either <li>
's or script supporting elements.
lee F
1,564 PointsThanks for confirming Jason was confused lol
Rich Bagley
25,869 PointsRich Bagley
25,869 PointsHi Lee,
What you've written looks correct to me. Is there an error you're receiving or it just won't click through?
Thanks
-Rich