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

Salim Al-Harrasi
PLUS
Salim Al-Harrasi
Courses Plus Student 6,572 Points

Image Loading in HTML Workspace

Hello,

I need some help here please!

In the Basic HTML course, the images inserted in the code aren't opening on the view tap screen, and I'm positive that the tag is correct! I can only view them at the HTML folder by clicking.

I tried a PC and a Macbook with different browsers, but still not opening, and only the alt message is displayed.

https://w.trhou.se/ewj41gpnv4

Thank you, Salim

1 Answer

I just had a look at your code. I think I figured out what is going on and why your pictures are not showing up.

       <img scr="img/featured.jpg" alt="Virtual Reality user">  <!-- This is your code -->

      <img src="img/featured.jpg" alt="Virtual Reality user">  <!-- This is the code corrected. -->
<!-- It was just the image source "scr" is supposed to be "src". --> 

See if that fixes your image not showing issue. I find myself doing the same thing ^_^ Hope that helps.

  • Natsu
Salim Al-Harrasi
Salim Al-Harrasi
Courses Plus Student 6,572 Points

Thanks so much Natsu!

Yes! my problem resolved :)

I appreciate your help so much. Without your third comment, It would take me forever to figure out the difference between my code and yours hehehe :)

Thanks a lot Salim