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 trialCristian Reyes
Courses Plus Student 338 PointsHELP WITH CHALLENGE!!
so I have inserted the images and they come out perfectly when I preview it, but the challenge says I need to insert an image tag that says "img/numbers-01.jpg". What does this mean?!! The pictures are posted and everything so I really don't know what the issue is.
Here is what I have as the code:
<section>
'''<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>'''
4 Answers
Roberto Alicata
Courses Plus Student 39,959 PointsThe code i posted before works, so probably you have an error before in the html... post all your code
Roberto Alicata
Courses Plus Student 39,959 PointsYou forgot to insert another image called numbers-01.jpg
<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>
Cristian Reyes
Courses Plus Student 338 Pointsoh I actually do have that I just didn't copy the whole thing when into the question by accident. The error is still occurring
Cristian Reyes
Courses Plus Student 338 Pointsoh I actually do have that I just didn't copy the whole thing when into the question by accident. The error is still occurring
Cristian Reyes
Courses Plus Student 338 Points<section>
<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>
</section>
Roberto Alicata
Courses Plus Student 39,959 PointsRoberto Alicata
Courses Plus Student 39,959 Points.... and you don't need to use the "a" links in this challenge... try to remove them
Cristian Reyes
Courses Plus Student 338 PointsCristian Reyes
Courses Plus Student 338 Points'''<section> <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>
</section>'''
Cristian Reyes
Courses Plus Student 338 PointsCristian Reyes
Courses Plus Student 338 PointsYup that was it, I had the a links. Thanks!