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

Ricardo Narciso
Ricardo Narciso
751 Points

Hi. For some odd reason I´m not being able to go forward on this one. Although I did what´s been asked. Help?

.

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Nick Pettit</title>
  </head>
  <body>
    <header>
       <h1>Nick Pettit</h1>
        <h2>Designer</h2>

      <a href="index.html">
      <nav> 
        <ul>
          <li>Portfolio</li>
          <li>About</li>
          <li>Contact</li>
        </ul>  
      </nav>



      </a>
    </header>
    <section></section>
    <footer>
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>
</html>

1 Answer

Guled Ahmed
Guled Ahmed
12,806 Points

Hello Ricardo,

Your attempt at this challenge was very close to the final result, but you placed the nav and unordered list within the <a> tag. The reason I say this is because if you look under your </nav> there is one more tag that is still associated with the link: </a>. All you would have to do is remove your current nav and un ordered list and place it under the </a> tag. If you have any other questions please ask.

Regards,

Guled