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 trialDaniel Rego
7,956 PointsChallenge task 1 of 3
Screenshot of my code attached. Everything looks good, aside from the error message. Anyone see anything unusual? Let me know! (screenshot below)
3 Answers
Guy Noda-Bailey
18,837 PointsI think the problem might be that you have put the nav element inside the link in the header as opposed to directly under it.
try moving the entire nav to just under the closing </a>
tag.
Daniel Rego
7,956 PointsGuy Noda,
Thanks for the help. Much appreciated, I think you've nailed it.
Vlatko .
2,526 PointsI'm wondering why you're getting that error message. Unless it wants you to link them like so:
<a href="index.html"><li>Portfolio</li></a>
Haven't taken the quiz myself, but that's all I can think of.
Guy Noda-Bailey
18,837 PointsGuy Noda-Bailey
18,837 PointsYep, I tried it out, looks like this should pass....
In your screen shot the nav was inside the link with the h1 and h2 headings.