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

Katie Williams
PLUS
Katie Williams
Courses Plus Student 247 Points

Image Tag Help

In taking a quiz, it keeps telling me to make sure I include an image tag that displays "numbers-01.jpg", and I think I'm doing that - but it keeps telling me I'm wrong? Can anyone tell me what's wrong with this?

Thanks!

<li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> </a> </li>

2 Answers

J Bacon
PLUS
J Bacon
Courses Plus Student 2,669 Points

Try using just "numbers-01.jpg". Leave the img/ out.

Joseph Rimar
Joseph Rimar
17,101 Points

Just leave off the img from the source. You only need that if it's in a separate folder.