Khan/khan-exercises — pull request #6362 by asuth (2011-11-15 09:01:31+00:00)
Title: Interactive time-telling

Hey --

I picked up [interactive time telling](https://trello.com/card/board/telling-time-interactive/4d87e664967a0775082939ab/4e935d3d38ccab00005a4222) from the Trello board and decided it would be fun. I refactored AnalogClock to add this capability.

This one is still in draft status. Todos:

* Need to plug it into the Check Answer system. I have the values the user entered, now what? It sort of seems like you should be able a callback function to the solution. Pointers?
* Add hints. Have some ideas for this but am open to suggestions.
* I added an unstyled button to clear the clock -- is there a style I should be using?
* Is JS in the `

` as I've done acceptable? I've tried to maintain a strict separation between what should be library code and what should be specific to this problem.
* I improvised on a few things (like adding the `.hidden-instruction` class). Any conventions I missed on this?

Give it a whirl, I'm curious what you think!

(btw, this is in conjunction with the MIT founders journey class...)