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

Image Tags Not Working

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

Here is my code to display the images. I can't find any problems, but I'm getting it wrong and it doesn't display any images.

2 Answers

The pictures I think are in the 'img' folder, not the root directory like you have written.

img/numbers-01.jpg

Thank you! It works now!

Roberto Alicata
PLUS
Roberto Alicata
Courses Plus Student 39,959 Points

It didn't ask for numbers-03.jpg but for numbers-6.jpg and all the images are in the img directory

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

Yes, that was the problem! Thank you so much!