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 trial

HTML How to Make a Website Creating HTML Content Create Navigation with Lists

Create a navigation element with an unordered list element after the link inside the header. Says bummer.

This is the code I have in. <header> <nav><ul></ul> </nav> <a href="index.html">

2 Answers

Adam Moore
Adam Moore
21,956 Points

Not sure what your code is, but I'm pretty sure this is what the instructions are implying:

<header> <a href="#"></a> <nav> <ul> </ul> </nav> </header>

The <nav> element is after the <a href> link, but inside the <nav> is the unordered list elementL <ul>.

I think when I did it, I misread the instructions at first and put a list item element in there out of habit (<li></li>) because I figured that was where it was going, and there would be not much of a need to simply make the <ul></ul> without any elements inside it. However, when I did it the first time with the list item elements inside, if I remember correctly, it counted it wrong.

I found the problem I put the element inside the link. Thanks.