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 trialruthpearl
11,110 PointsImage 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
jaredcowan
11,808 PointsThe pictures I think are in the 'img' folder, not the root directory like you have written.
img/numbers-01.jpg
Roberto Alicata
Courses Plus Student 39,959 PointsIt 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>
ruthpearl
11,110 PointsYes, that was the problem! Thank you so much!
ruthpearl
11,110 Pointsruthpearl
11,110 PointsThank you! It works now!