Nth child... what am I doing wrong!?(solved)


#1


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


what am I doing wrong? I keep getting the error message "Oops, try again. Did you remember to make the second paragraph's font-family Tahoma?"


/*Add your CSS below!*/

p:first-child{
                font-family: cursive;
                }
                
p:second-child{
                font-family: Tahoma;
                }
                
p:third-child{
                color: #CC0000;
                }
                
p:fourth-child{
                background-color: #00FF00;
                }
                
p:fifth-child{
                font-size: 22px;
                }


#2

you need to use nth-child(x), first-child and last-child are special, but second, third, fourth and fifth child do not exist


#3

ah : Pthanks very much!


#4