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

Chris Fuller
Chris Fuller
1,005 Points

Challenge task 2 of 2

Could someone please tell me what's wrong with this code? I've tried so many formats now I've confused my self. As far as I can see it's what has been requested in the challenge from Nick. Thanks

<section> <ul> <li> <a href="img/numbers-01.jpg"> <alt=""> </li> </a> <li> <a href="img/numbers-02.jpg"> <alt=""> </li> </a> <li> <a href="img/numbers-06.jpg"> <alt=""> </li> </a> </ul> </section>

2 Answers

Hi Chris,

Did you post your example code ? Only I can't see it.

For that task I used:

    <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>
Chris Fuller
Chris Fuller
1,005 Points

Hi Matthew

Thanks for taking the time out help me. I did post my code, but for some reason it's not showing.

I goofed by running ahead and using 'href'

Thanks Chris