Build a Cat Photo App - Step 22

Tell us what’s happening:

u1 element unable to add
i tried so many times
i cannot understand what it says
after the h3 element add u1 element is the instruction
i am typing as it says
but it is not accepting
i cant understand what is the mistake and how to rectify

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <h2>Cat Photos</h2>
        <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
        <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
      </section>
      <section>

<!-- User Editable Region -->

        <h2>Cat Lists</h2>
        <h3>Things cats love: <u1> </h3> 
        

<!-- User Editable Region -->

      </section>
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0

Challenge Information:

Build a Cat Photo App - Step 22

Hi.

Have a look at the instructions. Add the new element tags after the h3 element. You have nested the new tags inside.

All elements need closing tags unless they are self closing which ul is not. You can see the syntax for opening and closing elements in the code you have already typed.

I suggest you reset the step and try again.

it’s not u1, it’s ul, the second character is an L

1 Like

thank you so much

I dint even have a 2nd thinking that it is a letter. you saved me

it is short for “unordered list”, like ol is “ordered list”, and li is “list item”

i have a doubt

can you please clarify me where to use unordered list and where to use ordered list

if i once used “ul” in body element is that allowed second time ?

you use a ol when you want the ordered list (with the numbers) and an ul when you want an unordered list, with bullet points

you can use both multiple times

1 Like

Thank you sir and your advice helped me to finish that lesson thank you very much