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 Add Image Gallery Content

jamessandberg
jamessandberg
594 Points

broken link....404 not found

My site looks right, but when I click the image or link below the image it says "404 not found." Anyone else having this problem. I'm using Google Chrome as my browser. Thanks

2 Answers

jamessandberg
jamessandberg
594 Points

I was about to post my code until I realized I typed "number" instead of "numbers" when referencing my imagine in the anchor element. Thanks for the help!

Ilias Loukakis
Ilias Loukakis
20,489 Points

404 error appears when your browser cannot find the files you linked in your directory, make sure you have the correct path like a href="img/random.png" in your anchor element and that the files are actually in that file. If the browser finds your photo then it will enlarge the photo once you click on it