Stumped on Introduction to HTML5 Elements

Tell us what’s happening:
I’m having trouble with the following tasks:
Make sure each of your p elements has a closing tag.
The main element should have two paragraph elements as children.
The closing main tag should come after the second closing paragraph tag

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 in the sink fluffy fur catnip scratched.</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

There should be two paragraph elements in the main element. At the minute there is one, with another one outside it

1 Like

@DanCouper When you say that, does that mean the same sentence should be copied twice?

@apanford The main tag should wrap around everything. Meaning, everything should go in between the opening main tag and the closing main tag should.

1 Like

no, you have an existing p in the starting code, and you are instructed to create a second p with a different text