When you nest HTML elements inside one another think of that nesting like a family tree. The outer elements are ascendants and inner (nested) elements are their descendants.
<title>This is HTML</title>
<h1>This is an HTML Header Level 1<h1>
The above HTML can also be visualized/thought of as a tree structure, like so:
So, we can talk about the html above by saying:
- the html element is the parent of both the head element and the body element
- the head element and the body element are siblings
- the head element and the body element are both children of the html element
- the head element is the parent of the title element
- the title element is the child of the head element
- the body element is the parent of the h1 element
- the h1 element is the child of the body element
So when the instructions say “the main element should have two paragraph elements as children” it just means that you should have two paragraph elements that are nested inside the main element.