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

Images are not appearing (smells like Bakin')

Can some give me some advice on how can fix this? !DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charest=utf=8"/> <title> Smells like bakin' Cupcake Company</title> </head>

<body> <img src="img/logo" alt="Smells Like Bakin"> <ul> <li><a href="#">About</a></li> <li><a href="#">Cupcakes & Prices</a></li> <li><a href="#">Locations</a></li> <li class="last"><a href="#">Contact us</a></li> </ul> <div id="intro

alex mattingley
alex mattingley
7,508 Points

Hi Lee,

I just dealt with this problem recently. For some reason when I was downloading the images from the treehouse website they were saving in a weird spot on my hard drive. So I created in IMG folder on my desktop and moved all of the images there which helped alot.

Hope that helps....

alex

Thanks alex, it's not really done that much :/

4 Answers

do you have a img tag?

Yeah img tags are there just not appearing

Yeah img tags are there just not appearing

Are the images in the same folder as your index.html?

Yeah i've put everything in the same folder. used other browsers to check if it was chrome, but have the same problem

Post your code on codepen and link it here.

http://cdpn.io/bfGlk if that helps any

I don't know if this is a copy and paste mistake but your body tag is not closed.

most likely my friend, I'll have a mess around and sort it out somehow. thanks carman

Elliott Frazier
PLUS
Elliott Frazier
Courses Plus Student 9,647 Points

You need to add an extension to the end of your file name like img/logo.jpg or img/logo.png. what ever the type of image it's saved as.

Its saved of an jpg, but changed the code to a url found them online and now is working perfect :P