Basic HTML and HTML5:introduction (I was asked to wrap paragraph with an opening and closing 'main" tag)

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<h>children</h>
<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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36.

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

  1. <h> is not a valid HTML element.

  2. The two <p> elements needs to be inside a <main> element. We say that the p elements are nested inside the main element and/or that the main element is wrapping the p elements.

Look at the example given in the MDN docs for the <main> element. It has two <p> elements wrapped by a <main> element (ignore the role="main" part of the example).