My code should be correct for unordered and ordered lists

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>scratching posts</li>
    <li>milk</li>
    <li>fish</li>
  </ul>

    "Top 3 things cats hate:"
    <ol> 
    <li>baths</li>
    <li>vacuums</li>
    <li>flea/tick medication</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/67.0.3396.62 Safari/537.36.

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

Try putting “Things cats love” and “Things cats hate” back inside p tags like they are in the initial state of the challenge.

A couple of issues to pay attention to:

  • place the text headers for each list in a <p></p> tag
  • put the <p> tag outside the list (the line just before <ul> begins).

hope this helps.