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

General Discussion

Darren Handyside
PLUS
Darren Handyside
Courses Plus Student 1,357 Points

Stuck On: Build a Simple Website @ Text Editors and HTML "Image error path

Hi guys,

Hope someone can help me - I have followed the video instruction Nick posted; with image and lists.

Basically copied the code onto my sublime text 2; as the video rolled on. When I started the challenged, I pasted my work onto the sublime text simulation.

I got this "Bummer! Double-check your image path"

I looked over and over it! Cant seem to fix the problem - the code looks right? Where am I going wrong?

Here is code belows: !DOCTYPE HTML> <html> <head> <meta http equiv="Content-Type" content="text/html; charset=uft-8"/> <title>Smells Like Bakin' Cupcake Company</title> </head> <body> <img src="img/logo.gif" alt="Smells Like Bakin"> <ul class="nav"> <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> </body>

Any help? Please!!

10 Answers

Darren Handyside
PLUS
Darren Handyside
Courses Plus Student 1,357 Points

!DOCTYPE HTML> <html> <head> <meta http equiv="Content-Type" content="text/html; charset=uft-8"/> <title>Smells Like Bakin' Cupcake Company</title> </head> <body> <img src="img/logo.gif" alt="Smells Like Bakin"> <ul class="nav"> <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> </body>

Darren Handyside
PLUS
Darren Handyside
Courses Plus Student 1,357 Points

Ok, looks like I will need to go through support. My code does not come up, I am guessing for security reasons.

I can't see your code, but I'm going to guess you left out the path "img/" in front of the .jpg. <img src="img/cup...">

Darren Handyside
PLUS
Darren Handyside
Courses Plus Student 1,357 Points

Hi Edward,

Here is the attribute line <img src="img/logo.gif" alt="Smells Like Bakin">

Isnt that right?

Darren Handyside
PLUS
Darren Handyside
Courses Plus Student 1,357 Points

Crap!! This site needs to offer some type of screenshot sharing options, for troubling shoot problems.

Sorry Edward.

Check the img line so it should be img then src then the equals sign then within the quotes img slash then the jpg file name.

Darren Handyside
PLUS
Darren Handyside
Courses Plus Student 1,357 Points

Yep! Thats exactly what I have done. Still not working, I have sent a screenshot to support. I have gone over and over the video tutorial; doing what you mentioned. For the life of me its not working.

Darren Handyside
PLUS
Darren Handyside
Courses Plus Student 1,357 Points

I will post the element/attribute with "--" as space between written text

<img--src="img/logo.gif"-alt="Smells--Like-- Bakin">

Darren Handyside
PLUS
Darren Handyside
Courses Plus Student 1,357 Points

Sorry :) I worked it out. Its was a misunderstanding from my part. Didn't compute to the theme of the challenge.

Way to go Darren! ... solved.