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

Daniel Atkins
Daniel Atkins
167 Points

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

Daniel Atkins
Daniel Atkins
167 Points

Thanks for your help Robert, really appreciate it. I'll try that again now

3 Answers

Try 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="">

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

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

Hi Daniel,

Use the <img src="" alt=""> tag to add an image; filling in the src attribute with the image's file path.