Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Creating HTML Content Organize with Unordered Lists

Image Tags Not Working

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

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.


Thank you! It works now!

Roberto Alicata
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

        <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>        

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