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

Why doesn't go to my next task if I've done right?

it looks great on preview

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

3 Answers

Michael Afanasiev
PLUS
Michael Afanasiev
Courses Plus Student 15,596 Points

Hey floristicea, it's just a spelling error for Portfolio. :)

And how I can go on to the next task?

Michael Afanasiev
Michael Afanasiev
Courses Plus Student 15,596 Points

Well, as the challenge says, you have to link each list item to its page. We use the anchor tags to link

 <a href="page.html">text</a>

So your html should look like this:

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

Hope this helps.

Mark Pryce
Mark Pryce
8,804 Points

Create a navigation element with an unordered list element after the link inside the header. Don’t add any list items or links just yet.

Take out your list items :)

Best of luck.

this second task says "don't add links yet".

Michael Afanasiev
Michael Afanasiev
Courses Plus Student 15,596 Points

In the 2nd task you only have to change in your html and Portofolio to Portfolio.

Mark Pryce
Mark Pryce
8,804 Points

My apologies still getting used to this forum, if you are on the second task then Michael is right just did it myself.

ups...yes, you are right! Probably I'm too tired :)

Michael Afanasiev
Michael Afanasiev
Courses Plus Student 15,596 Points

I think we all could used a good night sleep....ZzzzZzzzz... :D