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

Kayleigh Cleaver
Kayleigh Cleaver
229 Points

Task 2 passes but task 3 when checking work refers back to task 2 no longer passing.

So, I have done task 2 for this section, passes okay, created an unordered list element inside nav elements, all seems okay and passes me, when I go to Task 3 an attempt to add an a href element, it refers me back to Task 2 as no longer 'passing'.

So I go back to task 2 and literally change nothing, then click check work and it passes me...

Not sure how to progress this?

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>

Your problem is that you have an additional ">" character next to the word Portfolio and About.

Portfolio></a> and About></a>

2 Answers

Dakota Nichols
Dakota Nichols
7,054 Points

The error is in your link tags. Make sure when you have your tags you don't have extra characters. Portfolio and About both looked like.... <a href="index.html">Portfolio></a> Watch out for your extra > The link tags should read as below. Hope this helps!

      <li>
        <a href="index.html">Portfolio</a>
      </li>
      <li>
        <a href="about.html">About</a>
      </li>
      <li>
        <a href="contact.html">Contact</a>
      </li>