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

Unordered List with list items

Nick Pettit - The question in my code challenge is: Inside the navigation element, create three list items with the words, “Portfolio”, “About”, and “Contact”. Don’t add links yet.

I keep getting a "Bummer! Null" error message and can't advance with the code challenge. Please help...

Here's my code - <html> <head> <meta charset="utf-8"> <title>Nick Pettit</title> </head> <body> <header> <a href="index.html"> <h1>Nick Pettit</h1> <h2>Designer</h2> <nav> <ul> <li>Portfolio</li> <li>About</li> <li>Contact</li> </ul> </nav> </a> </header> <section></section> <footer> <p>© 2013 Nick Pettit.</p> </footer> </body> </html>

11 Answers

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

Hi everyone,

It looks like we were experiencing some issues with our code challenges this weekend. If you try it again it should work now. If for some reason it doesn't please let us know and we'll look into it further. We're really sorry for this and appreciate you all being patient with us.

Thanks John. That's exactly how i'm showing it... Must be a bug in the course.

        <ul>
          <li>Portfolio</li>
          <li>About</li>
          <li>Contact</li>
        </ul>
   </nav>```
John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

I think with Code Challenges your not meant to change everything, only what they ask you to change. If you restart the challenge and just add the list items as told you should pass it straight away.

John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

Would you be able to show your HTML and I will take a look for you. Take a look at the Markdown Cheatsheet for info on how to show your HTML in this discussion.

You should be looking for something similar to this:

<ul>
    <li>Portfolio</li>
    <li>About</li>
    <li>Contact</li>
</ul>

Hope this helps

no, the rest of the html passed the previous question, this question just asked to add the list items.

here's everything.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Josh Swenson | Developer</title>
  </head>
  <body>
    <header>
      <a href="index.html">
        <h1>Josh Swenson</h1>
        <h2>Developer</h2>
      </a>
      <nav>
        <ul>
          <li>Portfolio</li>
          <li>About</li>
          <li>Contact</li>
        </ul>
      </nav>
          </header>
    <section>
      <ul>
        <li>
          <img src="img/numbers-01.jpg" alt="">
        </li>
      </ul>
    </section>
    <footer>
      <p>&copy; 2014 Josh Swenson | Developer</p>
    </footer>
  </body>
</html>
Nick Pettit
Nick Pettit
Treehouse Teacher

That's really strange you're getting an error. I just pasted in this code into that Code Challenge task, and it passed.

I'll notify our developers so we can look into it. I apologize for the frustration and appreciate you asking for help on the forum. I'll update this post with new information as it becomes available.

John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

Is this part of that question?:

<ul>
    <li>
        <img src="img/numbers-01.jpg" alt="">
    </li>
</ul>

I just completed that challenge and it didn't have that part

no, i skipped past the question when i got stuck and this was from the next section.

is there still something wrong with this question or am i being thick because i believe i am doing it right and I'm still getting bummer <!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>© 2013 Nick Pettit.</p> </footer> </body> </html>

The error still persists, can someone please look into it, in-spite of writting the correct code I get an error.

<li>Portfolio></li> <li>About></li> <li>Contact></li> error still persists in spite of writing the correct code.