Introduction to HTML5 Elements!

Tell us what’s happening:
I don’t know what I’m doing wrong, I’m trying to wrap the text, and it keeps saying I need 2 closing elements

Your code so far


<h2>CatPhotoApp</h2>

<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>

<main>
    <p>Purr jump eat the grass rip the couch scratched      sunbathe, shed everywhere rip the couch sleep<p>
</main>

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/introduction-to-html5-elements

Two things.

  1. Make sure to put the first paragraph inside the main tags.
  2. The closing tag for the 2nd paragraph is not closing. It’s actually opening another one.

Hope this helps :slight_smile:

did I do the closing tag right?

I found out the problem lol, :sweat_smile: Thanks alot

Hi E,
     Modify your 2nd <p> element to </p>