17.Nth-child

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/web-beginner-en-WF0CF/3/4?curriculum_id=50579fb998b470000202dc8b

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

Oops, try again. Did you remember to make the third paragraph’s color #CC0000?
The code looks right to me. Maybe I’m exhausted and missing something.

```

/Add your CSS below!/
p:first-child{
font-family: cursive;
}
p:nth-child(2) {
font-family: Tahoma;
}
p:nth-child(3) {
color: #CCOOOO;
}
p:nth-child(4) {
background-color #00FF00;
}
p:nth-child(5){
font-size: 22px;
}

<do not remove the three backticks above>

#CC0000 hex-color should contains zero’s (the number) not the letter o

you also miss a colon after background-color

1 Like

Ha yeah, exhausted. Thanks.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.