Introduction to HTML5 Elements -beginner

Tell us what’s happening:
I’m guess I’m not sure how to use kitty ipsum text, I thought i was doing it right but i can’t get it to clear. Also it asking to use a code as “children”, I don’t know what that means.

Your code so far


<h2>CatPhotoApp</h2>
<main>
<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>
<main2>
<p2>Kitty ipsum text</p2></main2>

Your browser information:

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

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

Use just one main tag to wrap both p tags. A child element should look like this:

Tiny example. If you don’t get it, google it (life rule). Best regards!

A child element is just any element that is inside of another element. So in your code, your first <p> tag is a child to your <main> tag and your second <p> tag is a child to your <main2> tag.

As for the challenge, try wrapping both <p> tags inside one <main> instead of one each! :smiley:

1 Like