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

I think there is an error in this question

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

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

2 Answers

Steven Parker
Steven Parker
231,007 Points

It looks like you passed task 1 and task 2, but you have not written any code yet for task 3 (at least, not in the HTML file).

Your link code needs to go inside the list item, and surround the text you put there in task 2. Here's an example of it done for the first item:

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

Then you'll do something very similar for the other two items.

Faisal Rahimi
Faisal Rahimi
4,019 Points

I just did the challenge it's upsolutly fine there is nothing wrong with it, as I can see you have passed task 1 and task 2 now for task 3 you just need to creat the actual links as such: <li><a href="about.html">About</a></li> for the Portfolio above example is correct.