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

CSS Using calc() in Padded Containers

mountain photo didn't load correctly

I followed Gil step by step; added img in html then targeted img in css, but when I clicked on preview mountain image showed up as a broken img icon.

html <img src=mountain.jpg">

CSS img { max-width: 100%; }

What is happening?

2 Answers

Kaitlynn McGuire
Kaitlynn McGuire
9,435 Points

It looks like you're missing the left quotation mark and that the image is mountains.jpg, not mountain. Try this:

<img src="mountains.jpg">

I just launched the video workspace and noticed the file name is mountains.jpg with an s. See if that fixes your issue.