Learn HTML by Building a Cat Photo App - Step 27

**Hello, can someone explain to me why it won’t let me move along to the next question? The request on this task was: The 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.

I believe my answer should work:

  1. flea treatment
  2. thunder
  3. other cats

but it keeps showing this: Sorry, your code does not pass. You’re getting there.

The three li elements should be nested inside the ol element. **
Describe your issue in detail here.

Your code so far

        <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>
        <h2>Cat Lists</h2>
        <h3>Things cats love:</h3>
          <li>cat nip</li>
          <li>laser pointers</li>
          <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>  

<!-- User Editable Region -->

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

<!-- User Editable Region -->



Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15

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

Link to the challenge:

From the code It looks like you modified something you should not have changed:

This list has been wrapped in an not necessary <ol> element.

If you remove it your code should pass as the list you created looks correct.

1 Like

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