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

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.