I need help in regard to introduction with HTML5 Elements

Tell us what’s happening:

i was told to wrap the paragraphs with an opening and closing main tag.and am lost at the moment
Your code so far


<h2>CatPhotoApp</h2>
<header>
    <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>
</header>

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

Your browser information:

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

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

Why do you have <header> and <footer> in your code?
Where is your <main>?
Why do you have these empty spaces here?

Basically you’re supposed to put the opening main tag before the 1st paragraph and closing main tag after the 2nd paragraph.

when i put the tag, it still states i havent done the necessary

coding%20help%20needed

coding%20help%202

THIS IS WHAT IT KEEP SAYING

swap that header tag with a main tag

thanks man, i really appreciate, it worked

1 Like