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 trialSan Francisco
28,373 Pointscode or other issue?
can't get the second exercise to pass typing in the exact example given <li> <a href="img/numbers-01.jpg"> <img src= "numbers-01.jpg" alt=""> <p></p> </a> </li>
4 Answers
Justin Horner
Treehouse Guest TeacherIt's hard to diagnose the issue without seeing code. Make sure you triple check the image names and add only the tags the challenge is asking for.
It's only asking for an image element in each of the three list items. No alt attributes, captions or links.
<li><img src="img/numbers-01.jpg"></li>
I hope this helps.
Marcus Urquhart
Python Web Development Techdegree Student 4,969 PointsThis is how the code should look if this is what you are looking for.
<section> <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> </section>
San Francisco
28,373 PointsSorry got it thanks for the fast responses it was the fact that it needs the "img/" to go to the right path. Justin it seems your code is missing it as well.
This does not work: <li><img src="numbers-01.jpg"></li>
This works: <li><img src="img/numbers-01.jpg"></li>
Justin Horner
Treehouse Guest TeacherGlad you found the problem! Sorry for excluding that from my example. It's been added.
Ian Taylor
4,114 PointsCan you post the code you have? And also what the question is?