Introduction to HTML5 Elements, PEASE HELP

Introduction to HTML5 Elements, PEASE HELP
0
#1

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

#2

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

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

#4

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

what is this one element?

#6

Please stop creating new topics…

2 Likes
#7

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

1 Like
#8

someone just helped me out. “main”

#9

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

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

1 Like
#11

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

1 Like
#12

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

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

1 Like
#14

Yes, thanks. Someone helped me out