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 Organize with Unordered Lists

Ricky Chilton
Ricky Chilton
246 Points

It says I didn't add an image tag that I did. "img/numbers-01.jpg"

The challenge was to add three images in an unordered list. This is the code I provided in the

<ul> <li> <a href="Img/numbers-01.jpg"><Img src="img/numbers-01.jpg" alt""></a> </li> </ul>
Ricky Chilton
Ricky Chilton
246 Points

Thanks guys it worked! I guess I was trying to get ahead of myself haha.

2 Answers

Kevin Kenger
Kevin Kenger
32,834 Points

Hey Ricky,

I see a few problems here. The first is that the code challenge doesn't want you to add anchor tags, or links, to the images. So <a href="img/numbers-01.jpg"> shouldn't be there. The other is that you capitalized the letter i in img. It should be <img src="img/numbers-01.jpg">. Those are probably the reasons your code isn't passing.

Side note: It looks like you're missing the = between your alt attribute and the value. The code would probably still pass even with that, I just thought I'd bring it up.

Hope that helps!

Sreng Hong
Sreng Hong
15,083 Points

Your <img> tags is capitalized. It shouldn't be uppercase of letter I

Sreng Hong
Sreng Hong
15,083 Points

Also, you don't need to use <a> tags.