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

Design

challenge task 2 of 4

we've placed an image named 'cupcakes.jpg' in a directory named 'img' add the img to the body of the document. this is the format I copied from the video. <img src="img/logo.gif" alt="Sells Like Bakin"> was this not right? if not what is the correct format?

2 Answers

Andrew Baisden
PLUS
Andrew Baisden
Courses Plus Student 5,132 Points

You need to put the image in-between the body tag.

<body>

<img src="img/cupcake.jpg" />

</body>

believe it or not I figured that out after I posted this. that is what I was doing wrong. I had to plug in cupcake.jpg in the place where he mentioned. thanks for getting back with me. :D