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 Build a Simple Website Text Editors and HTML Images and Lists

It's not working

What's wrong with this?

    <img src='cupcake.jpg'>

2 Answers

Stone Preston
Stone Preston
42,016 Points

the image file is in a directory called img. You will need to include that directory in your src path in order to pass.

Ryan Decker
Ryan Decker
3,451 Points

Also, unless you are in CSS you will want to use double quotation marks before <"img/cupcake.jpg">

James Barnett
James Barnett
39,199 Points

Single quotes are legal in HTML and should pass the code challenge. However they can get tripped up on special characters, which wouldn't be the case here.