Introduction to HTML5 Elements (Main)main

Tell us what’s happening:
Im finding it difficult to Pass the first text of HTML5 mainemphasized text

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>
<p>header,purr jump eat the grass</p>Purr jump eat the grass rip the couch scratched sunbathe,shed everywhere rip the couch slepp in the sink fluffyfur catnipscratched.<p>header purr jump eat the grass</p>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 7.0; TECNO F3 Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.137 Mobile Safari/537.36.

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

You have three p elements, some
Text outside of any element, and no main element

You need two p elements, both wrapped inside a main element

Hint: put the opening main tag right after the h2, and the closing main tag as last line of your code

1 Like

'tnx alot, but i need examples'

This is an example of nested elements with fictional names:

<parentelement>
   <nestedelement></nestedelement>
</parentelement>