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 trialAuguston Cobba
299 PointsBummer! Make sure you include an image tag that displays "img/numbers-01.jpg".
I entered this code but can't get past the stage because I keep getting the "bummer" for my Challenge. What am I doing wrong? <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>
Auguston Cobba
299 PointsJulian, thanks for the interest. Here is what I wrote:
<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>
Julian Gutierrez
19,201 PointsI'm not seeing your code if you could paste it between three back ticks (```) that could help out.
3 Answers
Julian Gutierrez
19,201 PointsThe challenge doesn't need you to link the images or in other words no anchor tags are needed.
Auguston Cobba
299 Points <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>```
Auguston Cobba
299 PointsJulian, see above code. There is a <ul>
in my code that is not visible on the post above
Auguston Cobba
299 PointsThanks, the challenge accepted my code!
Julian Gutierrez
19,201 PointsJulian Gutierrez
19,201 PointsPosting your code would facilitate an answer.