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 trial

HTML How to Make a Website Creating HTML Content Organize with Unordered Lists

San Francisco
San Francisco
28,373 Points

code 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
STAFF
Justin Horner
Treehouse Guest Teacher

It'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
seal-mask
.a{fill-rule:evenodd;}techdegree
Marcus Urquhart
Python Web Development Techdegree Student 4,969 Points

This 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
San Francisco
28,373 Points

Sorry 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
Justin Horner
Treehouse Guest Teacher

Glad you found the problem! Sorry for excluding that from my example. It's been added.

Ian Taylor
Ian Taylor
4,114 Points

Can you post the code you have? And also what the question is?