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

Problem with the code challenge Images and Lists

I have no idea why but when I type in exactly what it says I'm supposed to, it doesn't work. This is what it says to do: Assuming an 'img' directory with an image 'cupcake.jpg', add the image to the body of the document.

I've typed <img src="cupcake.jpg"> and that didn't work so I typed exactly what the guy typed in the video. That didn't work either. So what am I supposed to do!?

Any help would be greatly appreciated, thank you :)

6 Answers

Try typing (Without the asterisk *) <*img src="img/cupcake.jpg"> I'm pretty sure that worked for me with that challenge :) Hope this helps :)

Let me know if it ends up working! :)

Yep :)

U are missing the directory buddy :)

Try writing Hannah's suggestion

I'm having the same problem with this challenge. I have typed exactly this: <img src="img/cupcake.jpg> What am I not seeing here?

Thanks a lot Hannah, it worked!

No worries, glad it worked :)