8.Can you swing it


#1



https://www.codecademy.com/courses/web-beginner-en-WF0CF/1/4?curriculum_id=50579fb998b470000202dc8b#


Oops, try again. Did you remember to set the paragraphs inside li tags to the text-decoration:underline;?

*Add your CSS below!*/
p {
     font-family:Garamond;
    }
body > p {
    font-weight:bold;
    }
div > p {
    color:#7AC5CD;
    }
ul li {
    color:#000000;
    text-decoration:underline;
    }


#2

This needs to be li p as you need to select the paragraph inside the li


#3

I cannot figure out why mine isn't right.
P {
font-weight: bold;
font-family: Garamond;
}
P:first-child {
color: #7AC5CD;
}
li p {
color: #000000;
text-decoration: underline;
}


#4

Oops, try again. Did you remember to make the paragraphs inside <li>tags have color #000000;?
I got it to work then it says
Oops, try again. Did you remember to make the paragraphs inside <li>tags have text-decoration: underline;?


#5

ul li p{

color: #000000;
text-decoration: underline;
}

You have to be more specific. According to the exercise:
The more specific your selectors are, the higher importance CSS gives to the styling you apply!

You have already made your paragraphs in the div light blue, so if you want to colour again (black) on top of it, you need to be more specific.


#6

I actually tried it that way too I actually started out that way,

p {
font-weight: bold;
font-family: Garamond;
}
P:first-child {
color: #7AC5CD;
}
ul li p {

color: #000000;
text-decoration: underline;
}


#7

This needs to be changed to lowercase p


#8

maybe I need to clear my cache? its not working, i even tried the ctrl 0 lol


#9

What error are you getting ? Paste in updated code


Did you remember to set the paragraphs inside <li> tags to the text-decoration: underline;?
#10

I rebooted and it moved me on. to the next lesson.


#11