Nth Child Problema con ejercicio 17 de CSS


#1

https://www.codecademy.com/es/courses/web-beginner-en-6Qb79/3/4?curriculum_id=51226bebc261a8bdd4000ab5

Hola a todos, tengo un problema con este ejercicio. A ver si alguien puede decirme qué estoy haciendo mal. Gracias.


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:#00FF00;
}
p:nth:child(5){
    font-size:22px;
}


#2

here:

font-family:tahoma:

you have a colon (:) after Tahoma (which should have an uppercase first letter as well), after a value there should be a semi-colon

here:

p:nth:child(5)

nth-child pseudo class should have a hyphen, not a colon


#3

Thank you very much. I have got to solve the exercise! Regards.


#4