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

whats wrong here <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> </a> </li>

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

</a> </li>

1 Answer

Chase Marchione
Chase Marchione
155,055 Points

Hi Casey,

  • Challenge task #2 asks not to include links, so you won't need to include those anchor tags.

  • After you remove those, you'll have the right code for the first list item. Now you need to similarly code the other two list items. The difference for each list item is the file name of the image you'll use along with the src, or source, attribute. Thus, each list item contains a unique image.

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

Hope this helps!