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 trialAnthony Zovich
Courses Plus Student 782 PointsWhat is an image tag and how do you use it
<section>
<ul>
<li>
<a href="img/numbers-01.jpg">
<img src="img/numbers-01.jpg" alt="">
<p>img/numbers-01.jpg.</p>
</a>
</li>
<li>
<a href="img/numbers-02.jpg">
<img src="img/number-02.jpg" alt="">
<p>img/numbers-02.jpg.</p>
</a>
</li>
<li>
<a href="img/numbers-06.jpg">
<img src="img/numbers-06.jpg" alt="">
<p>img/numbers-01.jpg</p>
</a>
</li>
</ul>
</section>
1 Answer
Jason Anello
Courses Plus Student 94,610 PointsHi Anthony,
The challenge only wants images inside the list items. It specifically says not to include links and captions but you have included them.
Also, check the file name of your second image. You have number
instead of numbers
Anthony Zovich
Courses Plus Student 782 PointsI guess less is more.. thank you
Jason Anello
Courses Plus Student 94,610 PointsYou're welcome.
I find it helpful to take the instructions as literally as you can. Try not to be influenced too much by what you see in the videos and thinking that it needs to be the same in these code challenges.
Anthony Zovich
Courses Plus Student 782 PointsAnthony Zovich
Courses Plus Student 782 PointsI get an error telling me to add the image tag of "img/numbers-01.jpg".