8. Can you swing it?

I think i did not understand very vell what is mean " > "
My task is ok but i think i had to do in other way

Task is here

p {
    font-family: Garamond;

body > p {
    font-weight: bold;

div p {
    color: #7AC5CD;

ul li p {
    color: #000000;
    text-decoration: underline;

1 Like

if you want to do it perfect you should have use div > p

What do you not understand, lets simplify:

  <p>direct child of body</p>
    <p>direct child of div</p>

if you do body > p { color: red; } only the first paragraph would be red, since that is a direct child of body. the paragraph in the div will not be red, it is not a direct child of body. A child of body, yes but not a direct one (there is still another element in between)


I understood now. Thank you!