Introduction to HTML5 Elements, PEASE HELP

HERE IS THE CHALLENGE AT THE MOMENT

------Make sure each of your p elements has a closing tag.
------ Your p element should contain the first few words of the provided additional kitty ipsum text .
------ You need 2 p elements with Kitty Ipsum text.
-----Your code should have one main element.
------The main element should have two paragraph elements as children.
------The opening main tag should come before the first paragraph tag.
--------The closing main` tag should come after the second closing paragraph tag

And i did this, but i am yet to pass the challenge. please i need help, i have been stuck here for three days now. Thanks


<h2>CatPhotoApp</h2>
<header>
    <p>Kitty ipsum dolor sit amet, shed </p> 
    <p> kitty ipsum text:Purr jump eat the grass </p>
</header>

what can i do

Your code should have one main element.
The main element should have two paragraph elements as children.
The opening main tag should come before the first paragraph tag.
The closing main tag should come after the second closing paragraph tag

You seem to have ignored these conditions and used a different HTML tag. Nowhere there does it say use a header tag

1 Like

but i also tried body tag. it didn’t work

Why did you try the body tag? Nowhere does it say use a body tag. Again, to quote this, it is literally telling you which tag to use:

Your code should have one main element.
The main element should have two paragraph elements as children.
The opening main tag should come before the first paragraph tag.
The closing main tag should come after the second closing paragraph tag

1 Like

what is this one element?

Please stop creating new topics…

2 Likes

The one it says to use, it’s not a trick, what I’m quoting is telling you which tag to use.

1 Like

someone just helped me out. “main”

Well, that’s the answer. If you are supposed to use the main tag, which tag do you think you are supposed to use? It isn’t saying “use the header tag” or “use the body tag”, it’s saying “use the main tag”

1 Like

i thought body tag, head tag are all called main tag,. thanks

1 Like

Hey man I had issues in this part as well. Did you figure it out?

1 Like

You can create your own thread using the “Ask for help” button so you can get help based on where you are stuck as that will include your own code

1 Like

Sorry to keep pushing it, I didn’t want to just give you the answer!

1 Like

Yes, thanks. Someone helped me out