Introduction to HTML5 Elements. need help

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> 

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

* * * * * *
I need help. 

What means "The main element should have two paragraph elements as children.". 

I know i need to nest this but i don't know how.

To nest an element in another in html you write the tag of the child element within the starting and ending tags of the parent element.
In your case:

<main>
   <p>The paragraph text 1</p>
   <p>The paragraph text 2</p>
</main>

Actually you already have got it right, you just need to nest all the requested elements in the main element.

All main content of a webpage has to be wrapped in a main tag. You only wrapped one p tag.

1 Like

Omg! Thanks man! It was working!!