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

Jeffrey Bulman
PLUS
Jeffrey Bulman
Courses Plus Student 1,747 Points

uploaded images onto my workspace and applied the code and the images are not showing.

I have uploaded images onto my work space and they are not showing when i refresh my page, It just shows a small picture the break in the middle.

2 Answers

Isaac Asante
Isaac Asante
4,752 Points

Hi Jeffrey, make sure the images are placed in a /img folder in the root directory, where your index.html file is. Secondly, review your file paths in your html files. The image files paths should be correct otherwise the browser won't know which actual image to fetch. Thirdly, the image html tag is a self-closing tag so you must not add a </img> closing tag. Fourthly, make sure you have saved your changes in Workspace. Lastly, debug your code to check that there are no errors. Is it working now?

Jeffrey Bulman
PLUS
Jeffrey Bulman
Courses Plus Student 1,747 Points

after doing everything you said, i forgot to thank you. It did work thanks, It turns out my image folder was called images and not img so the browser did not recognise it. Thanks again