Learn HTML by Building a Cat Photo App - Step 27

“The three li elements should be nested inside the ol element”
Isn’t that nested already?

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>
        <h3>Top 3 things cats hate:</h3>
     <ol>
      <li>flea</li>
      <li>treatment</li>
      <li>thunder</li>
      <li>other</li>
      <li>cats</li>
     </ol>
      </section>
    </main>

  </body>
</html>

Your mobile information:

TECNO BF6 - Android 12 - Android SDK 31

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

Link to the challenge:

Hello @divineodiase35 !

Good attempt!

flea treatment should be within one li
other cats should be within one li

For a total of three li within your ol (ordered list)

Hope this helps you move on in your coding journey. Wishing you good progress. :slightly_smiling_face:

1 Like

Hey Buddy , See these are the exact text in instructions.

flea treatment thunder other cats

Your Code is here , can you do check it once please.

By the way your code format is right, but do change a little only.

1 Like