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

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

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

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.