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

what have i done wrong :(

plz help

index.html
<!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>
      </a>
      <nav>
        <url>
          <li><a href="index.html">designer</a></li>
        </url>
      </nav>        
        </header>
        <section></section>
        <footer>
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>
</html>
james niemerg
james niemerg
1,001 Points

what is the issue you are havving

it would not accept that as a answer but im positive that right

oh wow apparently i had to put a gap in <section> </section> lol thanks

2 Answers

rydavim
rydavim
18,814 Points

For the first step of the challenge, you need to add a navigation element with an unordered list element inside the header. You've got your code in the right place, you just need a couple different element tags.

<nav> // Your navigation element looks good!
    <url> // You want to use an unordered list here, not url. <ul>
        <li><a href="index.html">designer</a></li> // Don't add a list item yet!
    </url> // This will be your closing tag for your unordered list. </ul>
</nav>

Your first step should end up looking like this...

<nav>
    <ul>
    </ul>
</nav>
Justin Horner
STAFF
Justin Horner
Treehouse Guest Teacher

Hello Joseph,

The challenge wants you to add a nav section and an unordered list within it. You're nav is the correct place but you have a "url" element instead of a "ul" element.

You should change your structure to this.

 <nav>
    <ul>
    ...
    </ul>
</nav>      

Depending on which level of the challenge you're on will determine if you should have items within the unordered list or not.

I hope this helps.

oh thanks for your help all good im new lol