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 trialDaniel Atkins
167 PointsIm stuck on this task of adding images into my unordered list.
I don't know how to add images from a folder, without adding any links, captions or attributes as the challenge is asking me to do. I've tried lots of different variations and it still keeps giving me the same "bummer" message. Help!
3 Answers
sage stoker
2,405 PointsTry this format
but make sure you have folders on your desktop with your pictures in them.
<a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt="">
Robert Richey
Courses Plus Student 16,352 PointsHe doesn't need anything on his desktop; just needs to add the correct path to the src attribute in the img tag with the file name given in the directions, along with an empty alt attribute.
Robert Richey
Courses Plus Student 16,352 PointsWhoever bothered to down vote me, please provide a reason why my response is so bad to deserve it. I went through that challenge again and verified that my advice is accurate while not entirely spoiling the answer.
Robert Richey
Courses Plus Student 16,352 PointsHi Daniel,
Use the <img src="" alt="">
tag to add an image; filling in the src attribute with the image's file path.
Daniel Atkins
167 PointsDaniel Atkins
167 PointsThanks for your help Robert, really appreciate it. I'll try that again now