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

joshua meads
joshua meads
6,945 Points

struggling to work out how to complete this challenge

hello everyone it might just be that I am new to all this and there is something that I am missing but I am trying to complete this challange. I am putting the <nav> tag directly after the link in the header zone of the code and then the <ul> tags in between the <nav> tags. but no matter what I try I can't seem to get it to work. the question seems simple enough to answer have other people been having trouble doing this challenge also.

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <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>
    </footer>
  </body>
</html>

2 Answers

Adam Beer
Adam Beer
11,314 Points

This is good, just a typo. After the link, and link inside <a>. So write your code after the closing </a> tag. Hope this help.

joshua meads
joshua meads
6,945 Points

yes it dose thank you very much