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

"Organize with Unordered Lists" Help

I have been having trouble with the "Organize with Unordered Lists" challenge. The current code i have works in the preview, but every time i submit an answer i get the message " Bummer! Make sure you include an image tag that displays "numbers-01.jpg"". I have tried many different things and looked at the community forums but nothing has solved my problem. Screenshot: http://i.imgur.com/tm6xYDL.png. https://teamtreehouse.com/library/how-to-make-a-website/creating-html-content/organize-with-unordered-lists

Peach Kumatter
Peach Kumatter
2,093 Points

leave out the directory img/ just write this: <li><img src="numbers-01.jpg"></li> <li><img src="numbers-02.jpg"></li> <li><img src="numbers-06.jpg"></li>

That didn't work, I'm still getting the same message.

1 Answer

Mike Henry
PLUS
Mike Henry
Courses Plus Student 5,373 Points

The instructions: Inside the three new list items, add the following images: "numbers-01.jpg", "numbers-02.jpg", and "numbers-06.jpg". Leave the alt attributes blank, and don’t add any captions or links. Just the images! <section> <ul> <li> <img src="numbers-01.jpg"> </li> <li> <img src="numbers-02.jpg"> </li> <li> <img src="numbers-06.jpg"> </li> </ul> </section>

This works, I believe that it is the alt tag set to a null string (alt="") that is keeping it from passing. It's last three words of the instructions "Just the images"