The main element should have two paragraph elements as children.
I will like to know how to do that.will some one show me ?am new here
this <div> has a child element:
<div id = "parent">
<h2 id = "child">I am an h2!</h2>
</div>
Sometimes, tags may also have “grandchildren”
<div id = "parent">
<span id = "child">
<h3 id = "grandchild">I am an h3!</h3>
</span>
</div>
Do you see the pattern here?
An <h1> is nested inside of a <main> tag. which is the child?
Solution
<main>
<p>[text]</p>
<p>[text as well]</p>
</main>