Exercise https://jsbin.com/jekeni/edit?html,output
Did your cube really turned 10 times? If not why not? You can fix it but for that you have to think what is implicit and explicit.
Demo http://output.jsbin.com/zejehu/ (alternative technique)
What are the differences of the exercise and the demonstration? What can you do with the demonstration that you can't do with the first one and vice versa? Have you tried animating colors? Did it work and if so why not?
Done? Go back to learn more.