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 trialAngie Maunz
3,106 Pointsadding images
Inside the three new list items, add the following images from inside the img folder: "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!
Can you please share the correct syntax to pass this challenge. I've tried and just can't get through. thanks
Angie Maunz
3,106 Points<li>
<a href="img/numbers-01.jpg">
<img src="img/numbers-01.jpg" alt="">
</a>
</li>
Stone Preston
42,016 Pointshmtl code doesnt show up in the forum unless its formatted using markdown. I formatted it for you but you can check out the tips for asking questions video on the right side of the page for a demonstration on how to format your code or read this post
2 Answers
Stone Preston
42,016 Pointsthe problem is you added links when the challenge states: Leave the alt attributes blank, and donβt add any captions or links
so try removing your links around your list items
<li>
<img src="img/numbers-01.jpg" alt="">
</li>
Angie Maunz
3,106 Pointsthanks Stone,
I tried that as well but this time with all on one line, and it worked finally. Thanks heaps <li><img src="img/numbers-01.jpg" alt=""></li>
Stone Preston
42,016 PointsStone Preston
42,016 Pointscan you post what you have tried?