Suppose to create an ordered list but I don't know what I did wrong here

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>
  
  <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
  
  <ul>Things cats love:
    <li>cat nip</li>
    <li>laser pointers</li>
    <li>lasagna</li>
  </ul>

  <ol>Top 3 things cats hate:
  <li> My neigbour's cat </li>
  <li> Smelly feet </li>
  <li> life </li>
  </ol>
  
</main>

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/create-an-ordered-list

The error shows that my unordered and ordered lists are not correct. Why?

Because you have removed the p tag, try this out:

<h2>CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>
  
  <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
  
  <p>Things cats love:</p>
  <ul>
    <li>cat nip</li>
    <li>laser pointers</li>
    <li>lasagna</li>
  </ul>
  <p>Top 3 things cats hate:</p>
  <ol>
  <li>car rides</li>
  <li>baths</li>
  <li>loud noises</li>
  </ol>
  </main>
1 Like

there is not supposed to be something after"

    just use it to wrap around your
  1. statements. Like:
    1. blah blah blahaha
    "