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

My image is not loading in my browser. It's showing up as a broken link. Everything is in the correct place.

I've loaded images to work space and placed them in the correct folder. My code looks good. Could it be my browser?

Hello Travis,

There is a possibility that you are linking the image to the wrong source.

Could you post your code please?

sure.

</header> <section> <ul> <li> <img src="img/numbers-01.jpg" alt=""> </li> </ul> </section>

2 Answers

Thank you so much that helped me, I had the same problem, IMG and img, will mess up the code.

Try adding this:

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

Or if that doesn't work, try this:

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

If neither works, double check the image name and make sure it's exactly what you're telling the source to look at.

Thanks, but it's still not working. I've even tried a using different source img.

Thanks for your help. I have an awful habit of saving folder names in ALL CAPS. that was my problem!

Glad you figured it out. Good luck with your course.