Learn HTML by Building a Cat Photo App - Step 27

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <main>
      <section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</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>
        <h2>Cat Lists</h2>
        <h3>Things cats love:</h3>
        <ul><ol>
          <li>cat nip</li>
          <li>laser pointers</li>
          <li>lasagna</li></ol>
        </ul>
        <figure>
          <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
          <figcaption>Cats <em>love</em> lasagna.</figcaption>  
        </figure>
        <h3>Top 3 things cats hate:</h3>
      <ol>  
        <li>flea treatment</li>
        <li>thunder</li>
        <li>other cats</li>
       </ol>
       
      </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/105.0.0.0 Safari/537.36 Edg/105.0.1343.42

Challenge: Learn HTML by Building a Cat Photo App - Step 27

Link to the challenge:

What is your issue? You need to say what you’re having trouble with.

Hello, the requirements of this 27 level are: he code for an ordered list (ol) is similar to an unordered list, but list items in an ordered list are numbered when displayed

After the second section element’s last h3 element, add an ordered list with these three list items:

flea treatment thunder other cats.

The three li elements should be nested inside the ol element

i don’ t understand why my code is wrong .i’ve already nested the li elements inside ol elements.

We know the requirements. We don’t know what about them has you stuck.

What’s going on up here? You shouldn’t make changes here.

i didn’t change it,it’s right here

1 Like

here have some problem ,but i don’t kow what’s that

Well, gremlins made changes to the part of the code I highlighted, because it isn’t the original code that was there.

well,I remember it. I did change the code there, I added the <ol></ol>

thank you so much,my problem has been solved

1 Like