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 Organize with Unordered Lists

Natalie Farrell
Natalie Farrell
1,646 Points

Keep receiving a "bummer" error on my html code.

Keep receiving a "bummer" error on my html code when I think the code is correct. This is the only section that says incomplete because of this happening. I have checked and rechecked and it still says wrong. Am I missing something wrong in the code? Help. :)

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>
      <ul>
        <li>
          <img src="img/numbers-01.jpg" alt="">
        </li>
        <li>
          <img src="img/numbers-02.jpg" alt="">
        </li>
        <li>
          <img src="img/numbers-06.jpg" alt="">
        </li>
      </ul>
    </section>
    <footer>
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>
</html>
Natalie Farrell
Natalie Farrell
1,646 Points

Jeremy Franklin thank you for the prompt response! I should clarify that I am able to get past the three blank list items, but it is when they call for the images 01, 02, and 06 (just the relative path code, and without the absolute link code) that it sends me the "bummer!" message, and I can't proceed.

2 Answers

Tommy Choe
Tommy Choe
38,156 Points

Hey Natalie,

you keep getting a bummer error because of the "img/" written in the file path. For the code challenge, the images weren't placed in a separate image folder so they should just be called by their name.

<img src = "numbers-01.jpg" alt="">
<img src = "numbers-02.jpg" alt="">
<img src = "numbers-06.jpg" alt="">

Let me know if you still get the error.

Natalie Farrell
Natalie Farrell
1,646 Points

Thank you, Tommy Choe! That solved the problem. I appreciate it! :)

In the exercise it says make an "unordered list with three blank list items". You put the image links in the list items instead.
so...

<section> <ul> <li></li> <li></li> <li></li> </ul> </section>

Just make the list item tags themselves. Worked for me.

Jeremy Franklin