17. Nth child nothing other than cursive changed


#1



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


Oops, try again. Did you remember to make the third paragraph's color #CC0000?


/*Add your CSS below!*/

p:first-child  {
    font-family:cursive;
}

p:nth-child(2)  {
    font-family:Tahoma;
}

p:nth child(3)  {
    color:#CC0000;
}
p:nth child(4)  {
    background-color:#OOFFOO;
}


#2

Both of these need a - between "nth" and "child", like so:

p:nth-child(3) {
 color:#CC0000;
}
p:nth-child(4) {
 background-color:#OOFFOO;
}

#3

3 is fixed but 4 does not display a background color.


#4

Thanks for your help. I found my problem. In 4 I used Os instead of 0s.


#5

Glad I could help! Have fun!