Introduction to the HTML5 Elements

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

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

What is your question?

what is the main tag here

The HTML <main> tag is used to represent the main content area within an HTML document. An HTML document can have a maximum of one <main> element.
Here, wrapping the both ptags inside <main> tag means to put your p tags inside main tag.
Hope it helps.

how to wrap these to p elements into one main tag and it is showing the error that main element should have two paragraph elements as children

CatPhotoApp

First Para

Second Para

you can create two para with one " main" .

Putting inside means start a main tag and then put both of your p tags and then close the main tag.

open main
paragraph 1
paragraph 2
close main