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 trialHeather Aiello
Courses Plus Student 259 Pointschallenge 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
Courses Plus Student 5,132 PointsYou need to put the image in-between the body tag.
<body>
<img src="img/cupcake.jpg" />
</body>
Heather Aiello
Courses Plus Student 259 Pointsbelieve 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