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 is it telling me i need to link portfolio to index when I have linked it to index!!!!!!!!!

this is killing me

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"></a>Portfolio</li>
          <li><a href="about.html"></a>About</li>
          <li><a href="contact.html"></a>Contact</li>

    </header>
    <section></section>
    <footer>
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>
</html>
Konrad Pilch
Konrad Pilch
2,435 Points

Actually, i suggest him to go over the code an check out for closing tags and errors .

Hint : Each of them should have a closing tag and some of your links , like i wrote above , need to be fixed.

I dont want to give away the answer because fomr my experience it ruins all the learning . When i had a break from treehouse i learned too much on my mistakes. While before i allways posted them on forum and i had most of the time full answer.

Its a good idea, if you like chess , to solve chess puzzle starting with one or two check mate , then into 3 then into 4 etc.. and doing 15minutes each day. It will help.

2 Answers

Konrad Pilch
Konrad Pilch
2,435 Points

YOu havent closed it . YOu are missing a closing tag. You should know what to do :)

Konrad Pilch
Konrad Pilch
2,435 Points

And oh wait

This

<li><a href="index.html"></a>Portfolio</li>

The Portfolio should be inside.

Konrad Pilch
Konrad Pilch
2,435 Points

There are like 3 errors . And we gaved them.

Jeff Lemay
Jeff Lemay
14,268 Points

Good catch, Konrad. All your anchor tags need to enclose their text.

Jeff Lemay
Jeff Lemay
14,268 Points

Maybe it's failing because you are missing the closing </ ul > tag.