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 Structure the Image Gallery

dsteelz
dsteelz
1,203 Points

Pictures wont load!

For some reason my picture will not display in my preview; rather, a black dot will appear where the picture should be. Why is this?

snapshot of workspace: https://w.trhou.se/98mxbt229n

2 Answers

Look CAREFULLY at line 24 of your code. Instead of writing "src", you used "scr". As a tip, remember that "src" means source AKA path to the source of the image you want to call in your code.

As another note, although you didn't specify an entry for the "alt" attribute, I would recommend doing that just for good practice. Maybe call it "numbers 1", for example.

Hope this helps!

dsteelz
dsteelz
1,203 Points

Thanks. I can't believe such a small error was the root of my problems. kudos for the quick response.

You're welcome. We all make those kinds of mistakes. It's all part of the learning process!