Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Creating HTML Content Organize with Unordered Lists

What is an image tag and how do you use it

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

I get an error telling me to add the image tag of "img/numbers-01.jpg".

1 Answer

Hi Anthony,

The challenge only wants images inside the list items. It specifically says not to include links and captions but you have included them.

Also, check the file name of your second image. You have number instead of numbers

I guess less is more.. thank you

You're welcome.

I find it helpful to take the instructions as literally as you can. Try not to be influenced too much by what you see in the videos and thinking that it needs to be the same in these code challenges.