It seems like I am putting my closing main tag at the wrong place

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<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.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scrarthced.</P>
</main>
  **Your browser information:**

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

Challenge: Introduction to HTML5 Elements

Link to the challenge:

Check the closing tag to the p element that you added. Note the case.

When I fix that, the tests pass for me.

Isn’t the closing tag for the p element

this is the closing tag for the p element</p> correct?

When I fixed that, the code passed for me.

It may not be an improper use of your html elements, rather than a spelling error in the second p element.

Right, it isn’t parsing properly because the opening and closing tags are different cases. I don’t know if that is true of all html parsers, but it seems to be with this one.

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