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

am i doing this right

am i???????

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

3 Answers

That is a really good start!

Try removing the ul and nav tags from the head:

<head>
   *<ul><nav><meta charset="utf-8"><nav><ul>*
    <title>Nick Pettit</title>
  </head>```


Also, in the body of the page, you won't need the UL an Nav tags, just close the link after the final H2 element.

<header> <ul><nav><a href="index.html"><nav><ul> <h1>Nick Pettit</h1> <h2>Designer</h2> <nav> <ul> <li><a herf="portfolio.html">portfolio</a></li> <li><a herf="about.html">about</a></li> <li><a herf="contact.html">contact</a></li> </ul> </nav> </header>````

Hi, in the challenge was to add the nav link with the ul list below the link inside header. it should be like this one below. can you correct it and try it out.

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

        </ul>
      </nav>
    </header>

Here ya go! I didn't finish the last two links, but they would be the same, just rename the link to match where you want them to go.

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

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