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 trialJessica Billeb
Courses Plus Student 938 PointsAdding Image Challenge Help
Hello, I am new to Treehouse and I am finding myself stuck on this one task, it seems so simple and yet I cannot figure it out. Maybe its because its 3:30 AM? Either way, here is the question:
Inside the three new list items, add the following images from inside the img folder: "numbers-01.jpg", "numbers-02.jpg", and "numbers-06.jpg". Leave the alt attributes blank, and donβt add any captions or links. Just the images!
4 Answers
Joakim Bergman
14,501 PointsOops seems like the code disappeared. Let's try it like this instead:
Inside your li tags add a img tag and put the src equal to img/numbers-01.jpg and leave the empty like so: alt="" Then do the same inside the two following li tags.
Joakim Bergman
14,501 PointsJust make 3 img tags like this:
<img src="img/numbers-01.jpg" alt=""> <img src="img/numbers-02.jpg" alt=""> <img src="img/numbers-06.jpg" alt="">
Thai Huynh
15,293 PointsHi Jessica, does your unorderlist structure look like this?
<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>
Jessica Billeb
Courses Plus Student 938 PointsThanks everyone! Joakim that is so easy, I just had a minor change but totally get it now! Thank you!