GoConqr has a new look! Let us know what you think.

Module 8 of 23 · Media

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.

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?