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 trialCollin Wokoma
Courses Plus Student 1,007 PointsI 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
Justin Iezzi
18,199 PointsHey 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
Treehouse Moderator 91,253 PointsTry 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
3,523 Pointssometimes you need to be careful of the space. it might brought error on your challenge.