Khan Academy has created a generic framework for building exercises. This framework, together with the exercises themselves, can be used completely independently of the Khan Academy application.
The framework exists in two components:
- An HTML markup for specifying exercises.
- A jQuery plugin for generating a usable, interactive, exercise from the HTML markup.
Using the Framework Locally
You need to serve the files from some sort of a server. You can't just open the files directly in a browser. For example:
cd khan-exercises python -m SimpleHTTPServer
cd khan-exercises python3 -m http.server
Now if you open your browser to `http://localhost:8000` (or `http://127.0.0.1:8000/`) you should see the contents of the `khan-exercises` directory. Navigate to the `exercises` subfolder, and an HTML file under there to see an exercise.
The process for writing exercises is rather well documented. More information about this process can be found in the Khan Exercises wiki. Specifically:
This package is listed in the following Collections:
|License||Verified by||Verified on||Notes|
|Expat||Bencook||13 December 2013|
Leaders and contributors
Resources and communication
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.