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 trialMichael Barnette
614 PointsIssue with tagging Images
I don't see where I am doing this wrong. I thought img tag was an open tag.
Here is the error I keep getting.
Bummer! Make sure you include an image tag that displays "img/numbers-01.jpg"
<a href="img/numbers-01.jpg">
<img src="img/numbers-01.jpg" alt="">
</a>
</Li>
<Li>
<a href="img/numbers-02.jpg">
<img src="img/numbers-02.jpg" alt="">
</a>
</Li>
<Li>
<a href="img_numbers-06.jpg">
<img src="img/numbers-06.jpg" alt="">
</a>
</Li>
9 Answers
Alexandra Silcox
24,486 PointsYou have a few issues in your code. First, you don't need to capitalize your list item tags. Second, I don't know if you just cut off the list item when copying it over, but the first list item is missing it's open tag. Lastly, although your img tags are correct, there wasn't any need to wrap them in an anchor tag ( the challenge doesn't ask for it). Wrapping the images within an anchor tag might be causing the error, so I would advise removing them from each list item and just keep the img tags within the list item.
<li>
<img src="img/numbers-01.jpg" alt="">
</li>
<li>
<img src="img/numbers-02.jpg" alt="">
</li>
<li>
<img src="img/numbers-06.jpg" alt="">
</li>
I hope this helps.
Don Shipley
19,488 PointsWhere is the file? " images/img/numbers-01.jpg"
Michael Barnette
614 PointsThe file is in IMG folder
the file is "numbers-01.jpg"
Don Shipley
19,488 Pointsplace a space between src = "img
Don Shipley
19,488 Pointsand the href
Michael Barnette
614 PointsStill coming up with the same Error
Alexandra Silcox
24,486 PointsHmmm...it should work. I ran it myself using the code I provided. Could we see all the code you have?
Michael Barnette
614 PointsThank you. I figured it out.
Sorry for the noob questions. This is completely new to me
Alexandra Silcox
24,486 PointsAwesome, glad you figured it out :D And no worries, we've all been there and we're here to help :)