Introduction to HTML5 Elements: how to create main tags and paragraph

Tell us what’s happening:

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

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.79 Safari/537.36.

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

Hi, I think I understand what happened. It’s waiting for you to: “Wrap the paragraphs with an opening and closing main tag.”

This will fulfill the needs:
Your code should have one main element.
The main element should have two paragraph elements as children.
The opening main tag should come before the first paragraph tag.
The closing main tag should come after the second closing paragraph tag.

I don’t know how to wrap the paragraphs with an opening and closing main tags

You need to open a main tag, and put the paragraphs before its end tag. I hope this can help:

<main>
<p>Paragraph</p>
</main>

Thanks that really helps