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 and Lists: Image not present

Smells Like Bakin image is not showing up in the browser, only a box with a question mark. I have pasted code I have below. Are there errors? Also, is there a better way to post codes in forum?

<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Smells Like Bakin' Cupcake Company</title> </head> <body> <img src="img/logo.gif" alt="Smells Like Bakin"> </body> </html>

4 Answers

'''html <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Smells Like Bakin' Cupcake Company</title> </head> <body> <img src="img/logo.gif" alt="Smells Like Bakin"> </body> </html> '''

<!DOCTYPE HTML>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>Smells Like Bakin' Cupcake Company</title>
</head>
<body>
  <img src="img/logo.gif" alt="Smells Like Bakin">
</body>
</html>

Oh I figured it out!! But it is cut off on the right side, why? I still have the image problem too.

Have you downloaded the files associated with the project yet? On the right side of the instruction video you should see a sidebar titled "Downloads". The first item under Downloads should be a .zip file titled "Project Files". Download and unzip this file, it contains the logo.gif and other items you'll need to link to later on. Also make sure that the index.html you created is saved within the same folder as the rest of the Project Files. Hope this helps!

Thank you Xavier! Yes, the problem was that I did not have files saved in the same folder. Problem solved and now, I see cupcakes! Thanks :-)

No problem!