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

Image is not displayed in preview

Hi, I have checked several questions here but I could not resolve this issue. I checked the code several times. Hopefully someone can help me with this.

https://w.trhou.se/pn6ua9ika6

5 Answers

What a great support here, and yes it is a typo. The image is now visible. ;-)

Thanks everyone!

I guess you've simply mistyped

<img scr="img/numbers-01.jpg" alt="">

instead or scr you should put src, probably

It looks like there is a typo in your code. You have:

<img scr="img/numbers-01.jpg" alt="">

It should be img src not img scr.

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,863 Points

Hi Jan, It's a simple typo that is preventing the image from displaying. You have "img scr" instead of "img src". A common error, but an easy fix.

Keep Coding! :)

There is a syntax error for the <img> tag. You have <img scr="img/numbers-01.jpg" alt=""> and it should be <img src=img/numbers-01.jpg" alt="">.