Introduction to HTML5 Elements Children

Introduction to HTML5 Elements Children
0

#1

Tell us what’s happening:
Hey fellas I’m having trouble understanding how to add in a child element can someone help me. Please and thankz

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 rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>

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


#2
<someElement>
    <someOtherElement> This someOtherElement is the child of someElement </someOtherElement>
</someElement>

#3

@ArielLeslie Do you mean to switch out to for example , or ?


#4

A “child element” is an element nested inside its “parent element”. In that example, there is a someElement element that is a parent and it has a child someOtherElement element.