Introduction to HTML5 Elements- Need Help

Tell us what’s happening:

I thought I did The opening main tag should come before the first paragraph tag. &

The closing main tag should come after the second closing paragraph tag.
I’m confused. I keep watching the video & don’t see what I am doing wrong.

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>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
 </main>



Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/introduction-to-html5-elements

Hi, check if you have all closing tags in your code

All best,
M.

Yes. It has a check mark next to closing tag as being done. I tried to add the

after each paragraph and it removes the check marks I already have

Okay. This is the only step I missing that I am having trouble with:

The opening main tag should come before the first paragraph tag.

You just need 2 paragraphs. Delete the paragraph above your main tag.

I still do not understand what I’m doing wrong ???

Hi! :grinning:

  • Check if you’re closing all the tags
    Obs: the <p> tags inside the main are in caps lock