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

Nigel Matheson
PLUS
Nigel Matheson
Courses Plus Student 1,166 Points

hi guys they are saying that the listings are not passing? please help here is the code. Thanks

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

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>

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,857 Points

Hi Nigel,

I'm not sure which task you are on... as you have the HTML for Task 3 but that should not have passed Task 2.

The reason you are not passing are a few typing / capitalization errors. The names of the nav links should start with capital letters (as per the instructions), but the link paths should be all lower-case (also per the instructions). You seem to have them all mixed and matched?

Just fix up the typing and the tasks will pass. Remember, as with real-life coding, the challenges and instructions are very specific. If you don't do exactly what is instructed, you will end up with the Bummer!.

Keep Coding! :dizzy: :)

Nigel Matheson
PLUS
Nigel Matheson
Courses Plus Student 1,166 Points

Thank you Jason you are a life saver I've been muddled on this challenge for 2days and the frustration mounted up when I mistakenly wiped my work the other day. So thank you