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

stage 3 creating HTML content Challenge 2 Bummer! Make sure you include an image tag that displays "img/numbers-01.jpg".

Can someone help me?

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

Where is the mistake?

Stone Preston
Stone Preston
42,016 Points

see the animation below for an explanation of posting code to the forum. it wont show up otherwise

alt text

2 Answers

Stone Preston
Stone Preston
42,016 Points

the challenge says Leave the alt attributes blank, and don’t add any captions or links. Just the images! so remove your links

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

Thanks Stone! I just find out that I forget to close de <ul>