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 this help section so useless

The site keeps giving me instructions then telling me "bummer" after I do EXACTLY what it says. Site sucks, only using it because class instructor insists.

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Nick Pettit</title>
  </head>
  <body>
    <header>
      <a href="index.html">
        <nav>
          <ul></ul>
        </nav>
        <h1>Nick Pettit</h1>
        <h2>Designer</h2>
      </a>
    </header>
    <section></section>
    <footer>
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>
</html>

Some of the challenges can be frustrating because of a simple typo or you wrote functional code that is not what the instructor wants exactly. I wouldn't say this means Treehouse "sucks". View it as an opportunity to problem-solve. You're going to do a lot of it in coding. ;)

Kevin Korte
Kevin Korte
28,149 Points

No, actually it's not exactly what it asked for. I know this because I did the same thing you did. Your <nav> and <li> are inside of the anchor link. It asked for it to be just outside/after the anchor link. That's why it's failing.

I'll say this. Yes, sometimes the error messages are failing. And when you're learning error messages are good, but when you're coding on a real project, many times you don't get a good error message. Sometimes all you get is the white screen of death. Whether by design or not, it's preparing you for the fun to come.

4 Answers

jason chan
jason chan
31,009 Points
<!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>

all three challenges done. i recommend you watch the video again and try again.

My "and" is outside of the anchor link? That doesn't make sense to me.

He meant to say "nav" not "and". Probably auto-correct.

I have tried writing inside the anchor link and outside, but either way I get the "bummer" message.....?

If your code looks exactly like this, it will go through (I removed the excess code here to focus on what you're adding):

<header> <a href="index.html"> <h1>Nick Pettit</h1> <h2>Designer</h2> </a> <nav> <ul></ul> </nav> </header>