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

Maryanne Gray
PLUS
Maryanne Gray
Courses Plus Student 290 Points

bummer message

what is wrong with this? <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>

I continue to get a bummer message that I need to add an image tag that displays img/numbers-01.jpg

Jacob Cordeiro
Jacob Cordeiro
934 Points

have you put the 01img on your html

1 Answer

Hi Maryanne,

The challenge states not to put any links in and you have put links around your images. You only want the images inside the list items.

Maryanne Gray
Maryanne Gray
Courses Plus Student 290 Points

do I need to add a file that has the images to this assignment?

No, for code challenges you can assume images are where they say they are.

You html is correct except that you have added more than requested.

You have put links around your images:

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

            </a>
     </li>

The code challenge only wants the images without links around it.

Like this:

<li>
  <img src="img/numbers-06.jpg" alt="">
</li>