¡GoConqr estrena diseño! Cuéntanos qué te parece.

Módulo 8 de 23 · Multimedia

Add more rulers

Kostas Diakogiannis

Add more rulers

AC-1 Add more rulers

Use the nested callbacks pattern to add more rulers.


Set 'Cersei' as the current ruler for initial state.

After 5 seconds the ruler should be 'Danny'.

3 Seconds after that the new ruler should be 'Jon Snow'

2 seconds after that should be 'Euron Greyjoy'

2 extras seconds and the ruler should be 'Jaimie Lannister'.

Finally a second after the kingslayer, the ruler should be 'Nightking'.

 

Golden Rule: Use only setTimeout function for this purpose.

Instrucciones

Para avanzar en el curso, envía un intento de este test. Puedes enviarlo después de la última pregunta.

Ir al módulo elegido

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?