Introduction to HTML5 Elements HE

I dont know how i can get this level? How I can have only one main element?

Your code so far


<h1>CatPhotoApp</h1>

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.

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

Hey @freewilli,
Why did you put header tag in your code?

There should not be h1 tag but h2 tag.
So, replace header tag in your code with <main> tag.
Does that help?

yes thank you so much

1 Like