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

evrery time i try to click cheack work it always says task one is no longer passing reacheck your work

so can you helpme please

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>
      </a>
       <nav>
         <ul>
           <li><a herf="index.html">portfolio</a></li>
           <li><a herf="about.html">about</a></li>
            <li><a herf="contact.html">contact</a></li>
           </nav>
         </ul>
    </header>
    <section></section>
    <footer>
      <ul><nav><p>&copy; 2013 Nick Pettit.</p><nav><ul>
    </footer>
  </body>
</html>

2 Answers

rydavim
rydavim
18,814 Points

You've got several repeated nav and ul tags. Make sure you're only adding the tags once. I've posted some psudo-code below from the first step of the challenge to help you get started.

<!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>

      <!-- Add the opening nav tag here. -->
        <!-- Add the opening ul tag here. -->
          <!-- Add any list items inside this block. -->
        <!-- Close your ul tag here. -->
      <!-- Close your nav tag here. -->

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

Hi Daisy,

In addition to what rydavim has already covered, I noticed you have a typo in the anchor tags.

Where you've used herf this should be href, so:

<a herf="index.html">portfolio</a>

would become:

<a href="index.html">portfolio</a>

Hope that helps :)

-Rich

Finally, if you pass step 1, then move to step 2 and get that error, it really means that there is a problem with your new code, not the step 1 code.