Learn HTML by Building a Cat Photo App - Step 27

So basically i’m stuck! The error message says that “The three li elements should be nested inside the ol element.” Are they not already inside of the ol element? I’ve been staring at my screen for too long maybe…please help!
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <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>
        <h2>Cat Lists</h2>
        <h3>Things cats love:</h3>
        <ul>
          <li>cat nip</li>
          <li>laser pointers</li>
          <li>lasagna</li>
        </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>
        

<!-- User Editable Region -->

       <ol><h3>Top 3 things cats hate:
       <li>flea treatment</li>
       <li>thunder</li>
       <li>other cats</li>
       </ol>
       </h3>

<!-- User Editable Region -->

      </section>
    </main>

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

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

Link to the challenge:

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

After h3 there must be a section.
After section there must an ordered list.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.