Nth child need help


#1

p:first-child {
font-family: cursive;
}
p:nth-child(2) {
font-family: tahoma;
}
p:nth-child(3) {
color: #cc0000;
}
p:nth-child(4) {
color: #00FF00;
}
p:nth-child(5) {
font-size: 22px;
}

Oops, try again. Did you remember to set the fourth paragraph's background-color to #00FF00?


Nth child
#2

can u help me with the error


#3

The color property is used to change the color of text
you need to use the property background-color to change the background color of an element


#4

thank you I understood