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 trialTravis knight
1,374 PointsMy 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?
Travis knight
1,374 Pointssure.
</header> <section> <ul> <li> <img src="img/numbers-01.jpg" alt=""> </li> </ul> </section>
2 Answers
Alford Cole
191 PointsThank you so much that helped me, I had the same problem, IMG and img, will mess up the code.
Lucian Melinte
6,853 PointsTry 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.
Travis knight
1,374 PointsThanks, but it's still not working. I've even tried a using different source img.
Travis knight
1,374 PointsThanks for your help. I have an awful habit of saving folder names in ALL CAPS. that was my problem!
Lucian Melinte
6,853 PointsGlad you figured it out. Good luck with your course.
Lucian Melinte
6,853 PointsLucian Melinte
6,853 PointsHello Travis,
There is a possibility that you are linking the image to the wrong source.
Could you post your code please?