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

Collin Wokoma
PLUS
Collin Wokoma
Courses Plus Student 1,007 Points

I answered correctly but they're saying i failed. I think there's something wrong with this question.

I was told to add only numbers-01.jpg, numbers-02.jpg and numbers-06.jpg images without alt definition to section and typed this:

<section> <ul> <li> <img src="numbers-01.jpg" alt=""> </li> <li> <img src="numbers-02.jpg " alt=""> </li> <li> <img src="numbers-06.jpg" alt=""> </li> </ul> </section>

Where did i go wrong?

3 Answers

Hey Collin,

Your answer is correct, but the trailing space in your src="numbers-02.jpg " is throwing the code challenge off. Try removing that and see if it goes through. In reality this isn't much of a problem, but the the code challenges are pretty strict.

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

Try removing the alt attributes altogether so you only have the src attributes. Having empty alt attributes is invalid code and it might be confusing the code engine.

Good luck. :-)

analyn jane calado
analyn jane calado
3,523 Points

sometimes you need to be careful of the space. it might brought error on your challenge.