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 Debugging HTML and CSS Problems Continue Learning

<ul> The preview shows the pictures, but I get a message that I'm doing it wrong, please explain.

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

5 Answers

Steven Parker
Steven Parker
228,978 Points

Your link is to a video that doesn't seem to relate to your question. But if you are actually working in the module "Creating HTML Content", and the challenge "Organize With Unordered Lists", it says:

:point_right: So if that's the challenge you are on, you need to remove your links (<a> tags).

P.S. (for Chris) Indentation only helps readability, it has no functional effect in HTML.

Chris Gutierrez
Chris Gutierrez
6,911 Points

you might want to indent so everything falls under the un-order list.

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

Thanks, but indenting isn't the reason why I'm getting an error message even though I have a right answer.

Chris Gutierrez
Chris Gutierrez
6,911 Points

you are missing the folder call out. see below.

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

Chris Gutierrez
Chris Gutierrez
6,911 Points

<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>