Introduction to HTML5 Elements?!?!

Tell us what’s happening:
The main element should have two paragraph elements as children.
I don’t understand what that means.

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>
<header>
 <main>
<p>  Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluff fur catnip scratched as children.</p>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.38 Safari/537.36.

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

i have also reached that level and I cant understand it too

It means that in <main> there are two paragraphs <p>. Right now you have one.

The main tag should have two paragraph as main element. Put the above p element in the main tag too and it will do the trick. :slight_smile:

The <main> tags definition and usage;

The <main> tag specifies the main content of a document.

The content inside the <main> element should be unique to the document. It should not contain any content that is repeated across documents such as sidebars, navigation links, copyright information, site logos, and search forms.

As for your question , you need two <p> elements under the <main> tag and second one should have this sentence “Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

There is your answer
!!! Spoiler :wink:

<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 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>
</main>
1 Like

Think about main as a container. This container can have things inside it, then add the content inside like p tag. Good luck :grin: