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 trialLeighton Ingram
1,062 PointsImages 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
Leighton Ingram
1,062 PointsThanks alex, it's not really done that much :/
4 Answers
Carman A
7,672 Pointsdo you have a img tag?
Leighton Ingram
1,062 PointsYeah img tags are there just not appearing
Leighton Ingram
1,062 PointsYeah img tags are there just not appearing
Carman A
7,672 PointsAre the images in the same folder as your index.html?
Leighton Ingram
1,062 PointsYeah i've put everything in the same folder. used other browsers to check if it was chrome, but have the same problem
Carman A
7,672 PointsPost your code on codepen and link it here.
Leighton Ingram
1,062 Pointshttp://cdpn.io/bfGlk if that helps any
Carman A
7,672 PointsI don't know if this is a copy and paste mistake but your body tag is not closed.
Leighton Ingram
1,062 Pointsmost likely my friend, I'll have a mess around and sort it out somehow. thanks carman
Elliott Frazier
Courses Plus Student 9,647 PointsYou 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.
Leighton Ingram
1,062 PointsIts saved of an jpg, but changed the code to a url found them online and now is working perfect :P
alex mattingley
7,508 Pointsalex mattingley
7,508 PointsHi 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