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

I have check and double check once I input thee herf text in it say step two is no longer right.

<li><a herf="index.html">portfolio</a></li> <li><a herf="about.html">about</a></li> <li><a herf="contact.html">contact</a></li> once i input this in it says step 2 is incorrect now. I have chack and doubled checki can not see what is happening. need fresh eyes.

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>
        <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>
        </ul>
      </nav>
    </header>
    <section></section>
    <footer>
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>
</html>

Thanks for the help. I will be more careful next time.

2 Answers

Benjamin Larson
Benjamin Larson
34,055 Points

There's a couple small things you need to fix. Keep in mind that these challenges tend to be very specific about what you type, because programming languages themselves are very particular.

You need to capitalize "About" and "Contact". When I pasted your code, it failed the second part of the challenge because of this.

Once that is fixed, the third part of the challenge will fail because you type "herf" on all 3 items instead of "href".

They're small things, but computers are picky and you start to see these problems quicker in the future.

Not sure how all this works thanks for your help I need that second set of eyes. Again thanks I will be more careful next time.