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 trialBen Lee
1,777 Pointsimage extension error
<section> <ul> <li> <a href="img/number-01.jpg"> <!-- src is equal to the relative path/URL --> <img src= "img/numbers-01.jpg" alt=""> <p>Experimentation with color and texture.</p> </a> </li>
......
im using sublime text instead of workspace and i seem to have the correct code. My image appears on the index.html page, but when i click on the image, the extension is broken. it says ERR_FILE_NOT_FOUND. i copied the img directory to my directory that i am currently working on. and i dont think that would be the problem because the image does show on the index.html page.
Thanks for the help
2 Answers
Julian Aramburu
11,368 PointsHi Ben! You are missing a letter s in "number" in your href attribute , that's why you are getting 404 error :D!
Hope you find this answer helpful!
Cheers and Keep Coding!
Levi Flint
2,451 PointsFunny, I have included the "s" and I'm still getting that when I go and actually click on the image.
Ben Lee
1,777 PointsBen Lee
1,777 Pointsahhhhhh haha thanks so much :)