Welcome to the Treehouse Community
Looking to learn something new?
Phillip mouaFront End Web Development Techdegree Student 679 Points
Am I missing something in creating navigation?? Says <nav> needs to be directly under header.
Not sure if Im missing anything
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Nick Pettit</title> </head> <body> <header> <a href="index.html"> <h1>Nick Pettit</h1> <h2>Designer</h2> <nav> <ul> <li></li> </ul> </nav> </a> </header> <section></section> <footer> <p>© 2013 Nick Pettit.</p> </footer> </body> </html>
Jennifer NordellTreehouse Teacher
Hi there! You're doing great, but I feel like you may have misunderstood part of the instructions. The instructions ask you to make the
<nav> element after the link inside the header. Remember, we make links with the anchor tag or
<a>. So your nav element shouldn't come until after the closing
</a>. On a side note, the challenge also explicitly asks that you not add any list items for Step 1.
Hope this helps, but let me know if you're still stuck!