A coworker asked me to tell her of a book or a course that her son could use to learn HTML. I didn't know of anything teaching HTML but I was aware of the Pragmatic Programmer's book "3D Game Programming for Kids" so I bought it and started researching it to determine if it would be worthwhile. It is a lot of fun and I highly recommend it.
I combined the first three examples along with the rotation feature from the default project you see when you first open your Chrome or Safari browser to http://gamingjs.com/ice
The editor superimposes the 3D objects over the code that has been entered. THIS IS COOL
All the necessary code for the spinning 3D objects is below:
I also coded an astronaut floating in space. He rotates and spins.