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 trialLeo A
310 Pointskeeps saying: Make sure you include an image tag that displays "img/numbers-01.jpg", even after adding it isnt working
Trying to do the challenge where you have to add images into the code. However it keps saying that I have to include the image tag for "image-01". However even after adding it and even copying the code from the workspace it doesn't seem to work.
Leo A
310 PointsHi Logan, I figured it out in the end by reading the forums. Turns out that the challenge didn't want the href anchors for each image, I am however still confused as to why it didn't need this. Could you explain that if you are able?
Thanks for your help. :)
Logan R
22,989 PointsI have no idea.
and donβt add any captions or links. Just the images!
Who ever made the challenge did want <a>
tags added to the image I guess, lol.
You do not need <a>
tags wrapped around an image tag for the image to work.
1 Answer
John Steer-Fowler
Courses Plus Student 11,734 PointsHi Leo,
The reason for this is that you are linking to the source of the image (src), not linking to a URL (href).
Href is used to direct a user to another location. Src is used to find the source of an image in a directory.
Hope this helps
Keep up the good work
Logan R
22,989 PointsLogan R
22,989 PointsCan you please post your code?
Make sure you try to wrap your code with three ` so that the code is readable :)