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 trialMaryanne Gray
Courses Plus Student 290 Pointsbummer message
what is wrong with this? <ul> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt="">
</a>
</li>
<li>
<a href="img/numbers-02.jpg">
<img src="img/numbers-02.jpg" alt="">
</a>
</li>
<li>
<a href="img/numbers-06.jpg">
<img src="img/numbers-06.jpg" alt="">
</a>
</li>
</ul>
I continue to get a bummer message that I need to add an image tag that displays img/numbers-01.jpg
1 Answer
Jason Anello
Courses Plus Student 94,610 PointsHi Maryanne,
The challenge states not to put any links in and you have put links around your images. You only want the images inside the list items.
Maryanne Gray
Courses Plus Student 290 Pointsdo I need to add a file that has the images to this assignment?
Jason Anello
Courses Plus Student 94,610 PointsNo, for code challenges you can assume images are where they say they are.
You html is correct except that you have added more than requested.
You have put links around your images:
<li>
<a href="img/numbers-06.jpg">
<img src="img/numbers-06.jpg" alt="">
</a>
</li>
The code challenge only wants the images without links around it.
Like this:
<li>
<img src="img/numbers-06.jpg" alt="">
</li>
Jacob Cordeiro
934 PointsJacob Cordeiro
934 Pointshave you put the 01img on your html