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

i need help but they dont want me to add the link yet

help

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <nav><ul></ul></nav>
    <title>Nick Pettit</title>
  </head>
  <body>
    <header>
     <a href="index.html">
       <nav><ul></ul></nav>
        <h1>Nick Pettit</h1>
        <h2>Designer</h2>
      </a>
    </header>
    <section></section>
    <footer>
      <p>&copy; 2013 Nick Pettit.</p>
      <nav><ul></ul></nav>
    </footer>
  </body>
</html>

2 Answers

Hi Daisy,

I can see that you've written the nav element several times throughout your HTML. Unfortunately, none of these are correct, but one of them is close.

<header>
     <a href="index.html">
       <nav><ul></ul></nav>
        <h1>Nick Pettit</h1>
        <h2>Designer</h2>
      </a>
</header>

The challenge asks to create the nav element after the link in header. What you've done above is created the element right after the start anchor tag, when your element should be after the end anchor tag.

See here -

<header>
     <a href="index.html">
        <h1>Nick Pettit</h1>
        <h2>Designer</h2>
      </a>
      <nav><ul></ul></nav>
</header>

Now the nav element is truly after the link, instead of inside of it.

Let me know if you have any further questions!

thank and i will let you know if i have quistions justin lexzzi