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 trialAnika Kazi
Courses Plus Student 552 PointsI'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
8,353 PointsHello!
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
7,453 PointsClick file > save all or Ctrl+Alt+S
Anika Kazi
Courses Plus Student 552 PointsAnika Kazi
Courses Plus Student 552 PointsThank you so much Angelo!