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

Siqi Sun
Siqi Sun
189 Points

About how to make a website

The challenge is Inside the three new list items, add the following images from inside the img folder: "numbers-01.jpg", "numbers-02.jpg", and "numbers-06.jpg". Leave the alt attributes blank, and don’t add any captions or links. Just the images!

My code is like


   <a href="img/numbers-01.jpg">
             <img src="img/numbers-01.jpg" alt=" ">

But the error says make sure I make an img tag about ="img/numbers-01.jpg" I thiks I added it

Please tell me what`s wrong with my code?

Your code doesn't appear in your post. If you can fix that, I can have a look :)

1 Answer

Hi Siqi,

I've just updated your question since the code was not visible. Remember to refer to link Markdown Cheatsheet just below the comment box to add code and more information

As for your question your code is fine however, I see you have added the anchor <a*>* tag. This is not required for the question since it clearly says don’t add any captions or links

This is how it should probably look. But I would recommend try removing the anchor tags and adding all the three image files to the list and then looking here for the solution

          <img src="img/numbers-01.jpg" />
        <img src="img/numbers-02.jpg" />
          <img src="img/numbers-06.jpg" />

Hope this helps