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

Benite Divers
Benite Divers
247 Points

I keep getting this error message"it looks like task two is no longer passing"

Hi

I am trying this code challenge every time I finish answering the last question and hit the check answer button I get an error message that says: "it looks like task two is no longer passing" and I have no idea what it means.

I'd like to move on to the next lesson but this error message is keeping me from doing so please help.

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>

3 Answers

Tobias Helmrich
Tobias Helmrich
31,603 Points

Hey Benite,

you just forgot to close your opening anchor tags but you put the closing bracket after the words Portfolio, About and Contact. If you fix this, it should work! :)

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

They are closed, but they are closed in the wrong spots. Currently, she has the inner html set as an attribute.

Tobias Helmrich
Tobias Helmrich
31,603 Points

Hey Aaron,

I didn't see the closing brackets behind the words at first but I noticed it immediately after the page refreshed and fixed it, you must've seen the old version after you sent your answer. But thank you for the heads-up, four eyes are always better than two! :)

You placed all of your ">" after the text you wanted to link in the "a" tags. Try moving the words inbetween the tags.

eg: YOUR CODE

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

The problem with your code is that it is setting the inner html for your anchor link as an attribute.

PROPOSED CODE

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

Apply a similar set up for all of your links and I believe it will pass.

Benite Divers
Benite Divers
247 Points

My Gosh...thank you all for your help.