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

whats wrong?

i feel like i have done the code as it wants me to but it won't let me proceed to the next step

Andrew McCormick
Andrew McCormick
17,730 Points

Qamar, Please show the code that you have tried.

Posting Code to forum

<section> <ul> <li> <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>

  </ul>
</section>

this is the code which it is saying is wrong

2 Answers

Do you have the 3 list items? the code should be

<section>
    <ul>
         <li></li>
         <li></li>
         <li></li>
    </ul>
</section>
Joel Encinas
Joel Encinas
9,683 Points

Hi Qamar, in the first step you have to make an unordered list inside the section element, with 3 list items.

Remember that all HTML tags have an start and a close so the unordered list is defined by <ul></ul> tags, and the list items are defined with <li></li> tags.

So with that we have that an unordered list with 3 list items is write like this on HTML:

<section>
   <ul>
      <li></li>
      <li></li>
      <li></li>
   </ul>
</section>

Hope it helps!