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

IMG in html

I am doing the first few challenges for the Cupcake site and i've done everything correct accept the images aren't showing up. When i refresh after the steps it shows where the pic is on the page but doesn't show the actual picture

2 Answers

The way it works is that you have to put your images in the same folder relative, to your HTML file.

Here's an example:

file directory structure example

Does that help?

If not, you can read up about absolute vs relative paths

Thanks I saved a seperate HTML and put the wrong one in there.

I started completely over and now the pics won't show again. This seems to be my only issue with this project and the file is in the same folder now what could be the reasoning for this?