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

Not sure what I'm doing wrong

<ul> <li><a href="img/numbers-01.jpg">gallery</a></li> </ul>

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

What am I doing wrong?

Hi, Andrea Thomas:

Image tags are coded the following way in HTML:

<img src="the_name_of_the_image.jpg" alt="the label of the image for people that can't see the image due to networking problems or physical limitations--as well as SEO crawlers"> 

<!-- Note that a closing slash (/) isn't needed if you're typing up markup for HTML5 --> 

If you have the know-how, please copy and paste your code wrapped around three grave characters (`) for me to further help you.

I'm not sure I can help you. I'm just getting started. I'm sure I'll be asking your for help one day? But this is inspiration to keep going.

Feel free to paste in the code, and I'll edit it to be correctly formatted if it's confusing how to have your code formatted inside the comment field.

Don't hesitate to show your code in order for me and others be able to help you get unstuck.

2 Answers

nicholas maddren
nicholas maddren
12,793 Points

Hello, you'll need to display your code for help :)

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