Introduction to HTML5 Elements (Help)

Tell us what’s happening:

I’m not sure what it means by Make sure each of your p elements has a closing tag. 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.

Your code so far


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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15.

Link to the challenge:

It means that whenever you have an opening p tag <p> you need a closing p tag </p>. The tests are not liking the fact that you capitalized the “p” in your closing p tag. Technically, it makes no difference if the tag names are capitalized or not, but the tests are not accounting for that.

oooohhh… Thank you for the help!!!

can you help me with the other questions please??

main element and main tag are the same thing. You need to add one where it says to:

what does a main tag look like… lmao as you can tell I am just starting…

No problem. it can be confusing. Tags and Elements in HTML are defined by<>. An opening tag starts with <> and ends with a closing tag </>. To make things confusing some tags self close.

The main tag is just that: <main></main>

The nice thing about html is that if some says TAG NAME it is actually TAG NAME. So if you are told to add a header tag, you add <header></header>

Check out that link I posted, W3C Schools is an invaluable reference site for web programmers. I’ve been doing this for 20 years and it’s my go to.

ooooohhh ok thank you will definitely check out that link!!! Have a good day