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

Anika Kazi
PLUS
Anika Kazi
Courses Plus Student 552 Points

I'm unable to view images when I try to preview my website. The image just appears as a box?

<section> <ul> <li> <img src="img/numbers-01.jpg." alt="" </li> </ul> </section> <footer> <p>Ā© 2016 Anika Kazi.</p> </footer>

This is the code I've written. Comparing it to the example provided in the video I don't see a difference but my image keeps coming up as a box. Does anyone have an idea why this is happening?

2 Answers

Angelo Maiuri
Angelo Maiuri
8,353 Points

Hello!

I think the problem might be in your image source. You have a period in the end of your file name. Here is the correct code for your image: <blockquote> <img src="img/numbers-01.jpg" alt="" > </blockquote>

Best, Angelo

Muhamed Asil
Muhamed Asil
7,453 Points

Click file > save all or Ctrl+Alt+S