Main tag in HTML5 Elements

My code below couldn’t compile on freecodecamp and its prompting me to do this:
// running tests

The closing main tag should come after the second closing paragraph tag.

// tests completed

Below are the codes.

  
  <h2>CatPhotoApp</h2>
    <main>
      <p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

      <P> Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
        </P> 
  </main>

The code seems okay, please help to check.

Where are your opening and closing main tags? All you’ve shown here is the second paragraph that it’s asked you to add.
Also, for this course, use lower case for your HTML elements.

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.

markdown_Forums

Capitalization matters. p is not the same as P.