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

Arturo Romero
Arturo Romero
4,180 Points

On task 2, I get the challenge wrong, I'm adding the href link to the page and the img src; why won't it work?

The error box with Bummer! says make sure you use the tag for img/numbers-01.jpg

3 Answers

Brian DuPont
Brian DuPont
30,448 Points

If I remember correctly, you shouldn't need to use the "href" attribute in that challenge. Just need an img element tag, nested in your list items, with the src attribute linking to the correct images.

You would want the code to look like this:

<section>
      <ul>
        <li><img src="img/numbers-01.jpg"></li>
         ...
         ...
      </ul>
</section>

Hello,

Can you please paste your code?