Html html5 basics

They said that the main element should have two paragraph elements as a choldren.
but i dont know whta it means this is my code what am i doing wrong ?

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 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 OPR/58.0.3135.127.

Everything inside the <main>... </main> block is its children.

So far there is one paragraph as its children, so you just need another one.

1 Like

You put the first paragraph outside the MAIN tag, that’s what you need to fix. It has to be like:

<h2></h2> <!-- The H2 title -->
<main> <!-- The main tag opening -->
<p></p> <!-- The first paragraph -->
<p></p> <!-- The second paragraph -->
</main> <!-- The main tag closing -->

Let me know if you did it!