Introduction to HTML5 Elements Parent Child?

Introduction to HTML5 Elements Parent Child?
0

#1

Tell us what’s happening:
I have tried many different elements ( to wrap the paragragh elments with no success) to achieve parent child.
The div was just one attempt out if many,

Your code so far




<h2>CatPhotoApp</h2>

<div>
<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>

<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> 

</div>

Your browser information:

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

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


#2

Just add <main> </main> in between place the <p> </p> tag


#3

Thanks…main worked…Used main before 1st

Tag and after last

tag
Iam not sure how You knew they were looking for from the directions though?