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

Jeff Carr
Jeff Carr
1,657 Points

This is really irritating. "Oops! It looks like Task 2 is no longer passing."

I really don't get why so little information is given about what is causing the code to malfunction. It feels like a guessing game at times. Same goes with the quizzes, why is it we have to redo the entire quiz just for getting one wrong question?

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

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! The reason it says that the code is no longer passing the second step is simply because it isn't. You've changed part of the code that you had in step 2. For instance, the code in step 2 for the Portfolio list item was:

<li>Portfolio</li>

This will write "Portfolio" on the screen as a list item. You've changed it to:

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

This will write out "Portfolio.html" instead of "Portfolio" and have a link to "index.html". In this example, the code for this list item at step 3 should be this:

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

This will still print out "Portfolio" with a link to "index.html". The About and Contact section will each need to have different links to different files as indicated per the challenge instructions. I feel confident that you can complete step 3 with these hints, but let me know if you're still stuck! :sparkles:

edited for additional note

As for the quizzes, I'm fairly sure that the pass/fail is determined by percentage. If you have a quiz with 2 questions, you may not miss one as the success rate of your answers would be 50% which doesn't result in a passing grade. There are longer quizzes on TTH where you can miss an answer and still pass because the percentage correct meets their criteria to pass.

Jeff Carr
Jeff Carr
1,657 Points

Thanks! Took me a minute but I got it. lol