The main element should have two paragraph lements as children?

Tell us what’s happening:

Can someone help with this? I’m not understand what i’m doing wrong. it keeps saying “The main element should have two paragraph elements as children.” I’m doing it exactly has it should be.

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,</p>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36.

You only have 1 (of the required 2) paragraphs within the main element.

even when i have the whole thing written out its giving me the same problem. If i deleted the / in the closing P it says i have it correct but i need to put a closing p.

Your code should follow this format:

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

Got it. Thanks a lot :+1:

1 Like

No problem, anytime. :slight_smile: