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 trialviolettamingazova
2,660 PointsHow do I add an Image tag? I'm following along with the video, but when doing challenge, says I'm wrong.
Challenge asks to add images :"numbers-01.jpg", "numbers-02.jpg", and "numbers-06.jpg" to list items. Leave alt attributes blank, and don't add any captions or links. Just images. When checking work, I am told to include an image tag that displays "numbers-01.jpg". This is what I have: <section> <ul> <li><img src="img/numbers-01.jpg" alt=""></li> <li><img src="img/numbers-02.jpg" alt=""></li> <li><img src="img/numbers-06.jpg" alt=""></li> </ul> </section>
1 Answer
vanessadilg
12,577 PointsYou don't need to add the img-folder. Try this:
<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>