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

Issue with tagging Images

I don't see where I am doing this wrong. I thought img tag was an open tag.

Here is the error I keep getting.

Bummer! Make sure you include an image tag that displays "img/numbers-01.jpg"

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

9 Answers

You have a few issues in your code. First, you don't need to capitalize your list item tags. Second, I don't know if you just cut off the list item when copying it over, but the first list item is missing it's open tag. Lastly, although your img tags are correct, there wasn't any need to wrap them in an anchor tag ( the challenge doesn't ask for it). Wrapping the images within an anchor tag might be causing the error, so I would advise removing them from each list item and just keep the img tags within the list item.

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

I hope this helps.

Don Shipley
Don Shipley
19,488 Points

Where is the file? " images/img/numbers-01.jpg"

The file is in IMG folder

the file is "numbers-01.jpg"

Don Shipley
Don Shipley
19,488 Points

place a space between src = "img

Still coming up with the same Error

Hmmm...it should work. I ran it myself using the code I provided. Could we see all the code you have?

Thank you. I figured it out.

Sorry for the noob questions. This is completely new to me

Awesome, glad you figured it out :D And no worries, we've all been there and we're here to help :)