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

Cant pass! Inside the navigation element, create three list items with the words, “Portfolio”, “About”, and “Contact”.

i think i a bug because i cant pass this Challenge task 2 of 3

Can you post your code for us to see? EDIT: I was able to pass the challenge fine.

4 Answers

<!DOCTYPE html>

<html>
  <head>
    <meta charset="utf-8">
    <title>Web Desig Lab</title>  
  </head>
  <body>
    <header>
      <a href="index.html">
        <h1>Dragos C</h1>
        <h2>Designer</h2>
      </a>
      <nav>
        <ul>
          <li>Portfolio</li>
          <li>About</li>
          <li>Contact</li>   
        </ul>
      </nav>
    </header>
    <section>
      <p>Gallery</p>
    </section>
    <footer>
      <p>&copy;2014 Dragos C. Web Desig Lab </p>
    </footer>

  </body>
</html>

What code did you use to try to solve the challenge?

Hi Dragos,

I fixed the code formatting for you.

This thread will show you how to post code: https://teamtreehouse.com/forum/posting-code-to-the-forum

that i wrote above

I dont get it know it works .Sorry to bother you and thanks.

That looks correct to me. Try adding a newline between the tags and the words and see if that works. Sometimes, the engine can be a little finicky.