Plz what is main element? am unable to get pass this stage, it says “Your code should have one main
element.”
Main element is an html tag much like your body, head, etc. So it will look something like this:
<main>...</main>
This is what its showing me now
"Your code should have one main element.
The closing main tag should come after the second closing paragraph tag."
What does your code look like right now? It’s hard to tell without seeing what’s going on.
<header>
<h2>CatPhotoApp</h2>
<main>Purr jump eat the grass rip</main>
<main>
<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 scratched.</p>
<main>
<header>
When having a main element, there only needs to be one, and between the main element is main section of your html. So far you have two main tags going on, what you want to do is wrap all of your content into one main tag
<main>
<h2>CatPhotoApp</h2>
Purr jump eat the grass rip
<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 scratched.</p>
<main>