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

Problem on Challenge 3 of 3 https://teamtreehouse.com/library/create-navigation-with-lists

Problem on Challenge 3 of 3 https://teamtreehouse.com/library/create-navigation-with-lists

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

4 Answers

Billy Bellchambers
Billy Bellchambers
21,689 Points

I have literally just copied and pasted your code into the cody challenge and its passed with no issues.

Sometimes the code challenge hasn't loaded in the changes you've made if you click check work too quickly after changes. If it fails you and you adamant you got it right. Click check again and it should work.

I've experienced this myself a number of times.

Try again with the code you have above I had no problems with it.

I tried it again. There was a server issue it says. Now it's okay.

Billy Bellchambers
Billy Bellchambers
21,689 Points

Awesome I'm glad its working now.

Happy coding

Billy Bellchambers
Billy Bellchambers
21,689 Points

For part two your only required to add the 3 <li>'s and there text.

Your trying to jump steps :)

You need this.

      <nav>
        <ul>
          <li>Portfolio</li>
          <li>About</li>
          <li>Contact</li>
        </ul>
      </nav>

Hope that helps happy coding

Sorry I meant 3 of 3

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

The problem is that you've gone above and beyond the call of duty. The challenge specifically states not to add any links yet at this stage. Here's what they want:

     <ul>
          <li>Portfolio</li>
          <li>About</li>
          <li>Contact</li>
        </ul>

Sorry I meant 3 of 3

Thank you very much Jennifer!