HTML5 Elements - main tag

Tell us what’s happening:
I have problem with main tag… i cant solve this step - The main element should have two paragraph elements as children

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>

<main>
  <p> Purr jump eat the grass<p>
</main>

Your browser information:

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

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

1 Like
<parent>
  <child>This element is a child</child>
</parent>

So the <main> elment is the parent element, and it wants you to have two <p> elements as the child elements. At the minute, in the code you posted, it has one.

1 Like

Thank you man!!!