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

Code Challenge: Images and Lists Question 2

Having issues with question 2 keeps saying my image path is incorrect, but copying the path "cupcake.jpg" word for word.

Any ideas?

3 Answers

I am with Ram Ada in that I don't really use the provided files, but in the videos and code challenges they seem to keep images in the "img" directory. Try setting your path to "/img/cupcake.jpg".

I like to use the project files as they save time and only use code that I've learned before

I haven't used the tree-house files much, but did you make sure to add in the folder name if there is one?

for example:

"/photos/cupcake.jpg"

Here is a link on how to display code in the forum