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 trialOluwatobi Oyenuga
214 PointsCan someone tell me whit wrong with this
<ul>
<li>
<a href="img/number-01">
<img scr=img="img/number-01.jpg" alt="">
</a>
</li>
<li>
<a href="img/number-02">
<img scr=img="img/number-02.jpg" alt="">
</a>
</li>
<li>
<a href="img/number-03">
<img scr=img="img/number-03.jpg" alt="">
</a>
</li>
</ul>
1 Answer
Stone Preston
42,016 Pointsthe task states: 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!.
so you dont need any anchor tags inside your li, just img tags. your image tags also have several errors in your src attribute. you mispelled src as scr and also named the images incorrectly (they are named numbers-01.jpg, numbers-02.jpg, and numbers-06.jpg not number-02.jpg etc (missing an s on all the names)
you have
<img scr=img="img/number-02.jpg" alt="">
you need
<img src="img/numbers-02.jpg" alt="">
so just fix those issues ( remove link tags and fix img tag errors) for all three of your list items