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

Adding images into a list item

I need help adding images into a list item but I can't seen to get it to work. Any help would be appreciated. Thanks!

Adam Moore
Adam Moore
21,956 Points

Can you provide your code on here? That way it may be easier to diagnose the issue.

2 Answers

Kevin Korte
Kevin Korte
28,149 Points

Most common problem is your img src is incorrect. Are you using relative or root paths?

Relative...I think

This is what I typed in the task:

<section> <ul> <li><a href="img/numbers-01.jpg"></a></li> <li><a href="img/numbers-02.jpg"></a></li> <li><a href="img/numbers-06.jpg"></a></li> </ul> </section>