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

Alan Carmichael
Alan Carmichael
2,506 Points

IMG task doesn't work

What am I doing wrong, I have this in between the body tags for the Cupcake image task and its not validating?

<img src="img\cupcake.jpg" alt="Cupcake"/>Ā¬

7 Answers

Alan Carmichael
Alan Carmichael
2,506 Points

Sorry - the link isn't posting...it's keeping it invisible for some reason?

<img src="img\cupcake.jpg" alt="Cupcake"/>

Aaron Chiandet
Aaron Chiandet
9,826 Points

Are you posting a url or html? I'm not familiar with the task off hand, can you share what lesson you're working on and what the exact task is? Posting your code would be most helpful in trouble shooting.

Alan Carmichael
Alan Carmichael
2,506 Points

Hi Aaron,

Sorry, I think they were having server issues but its fine now and validating perfectly. Thanks very much for your swift reply.

Ronald Parsons
Ronald Parsons
146 Points

There still seems to be a problem - I keep getting a "check you image path" error

Alan Carmichael
Alan Carmichael
2,506 Points

Is your url img/cupcake.jpg ?

James Barnett
James Barnett
39,199 Points

Remember our goal on the forum is give help not answers, next try giving an explanation and/or a hint instead.

Need more explanation on the distinction check this out.

Ronald Parsons
Ronald Parsons
146 Points

Thanks Alan. A totally different path is shown in both Code Playground and the video lesson - I would have never solved the problem without your help.

Alan Carmichael
Alan Carmichael
2,506 Points

No problem Ronald, Team Treehouse should take note.