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 How to Make a Website Creating HTML Content Add Social Media Links

I keep getting a bummer error for no reason.

I'm completing a test and its telling me to add two images, which I've done, even when I preview the page they're both there. But the error keeps asking me if I added one of the images..

Stone Preston
Stone Preston
42,016 Points

please post the code you are using. You will have to format your code using markdown (there is a link to a markdown cheatsheet in the bottom right corner of the post/comment text box that explains how to format your code)

1 Answer

Are you sure you are adding the alt="some text here" text too. As I just got the quiz to pass?

    <img src="img/imageName.png" alt="some alt text">
    <img src="img/imageName.png" alt="some alt text">
James Barnett
James Barnett
39,199 Points

Note that alt text is not optional for <img> elements, so if you leave it out, the code challenge will (correctly) flag your code as having an error.