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 trialEliot Murton
7,315 PointsImage not showing?!
I doing the track for building a simple website. I have copied the instructions for what to write on Sublime Text. I have dragged the image onto the bowser as instructed. The browser is showing that I have created the beginning of a webpage, which is excellent. BUT, the image is not showing when I refresh the page. On Safari it shows a square box with a question mark in it and using Google Crome it shows an icon to indicate the image. Either way, the image itself is not being shown as in the instructions. Why is this?
3 Answers
Eliot Murton
7,315 PointsSorry. I have dragged the saved Sublime Text file onto the browser as described in the video. The image and folder it is in is one of the files suggested to download in association with this module, to create the same website as they are making in the video.
<!DOCTYPE HTML> <hyml> <head> <meta http-equive="Content-Type" content="text/html; charset=utf-8"/> <title>Smells Like Bakin' Cupcake Company</title> </head> <body> <img src="Desktop/img/logo.gif" alt="Smells Like Bakin"> </body> </hmtl>
Carson Clark
2,159 PointsYou've dragged the image to the browser? Do you mean editor? Have you saves your files (including your image) under the same folder? What does your code look like?
Eliot Murton
7,315 Points<img src="Desktop/img/logo.gif" alt="Smells Like Bakin">
For the above section, I originally did not include the "Desktop" part of the file path but either way it seems to have the same result.