Skip to content

Instantly share code, notes, and snippets.

@ramnathv
Created August 24, 2012 02:43
Show Gist options
  • Save ramnathv/3444944 to your computer and use it in GitHub Desktop.
Save ramnathv/3444944 to your computer and use it in GitHub Desktop.
Khan Academy Exercise Structure
<!DOCTYPE html>
<html data-require="math">
<head>
<title>Name of Your Exercise</title>
<script src="../khan-exercise.js"></script>
</head>
<body>
<div class="exercise">
<div class="vars">
<!-- Your variables in here... -->
</div>
<div class="problems">
<div id="problem-type-or-description">
<p class="problem"><!-- An overview of the problem including all needed info. --></p>
<p class="question"><!-- The question to ask the student. --></p>
<p class="solution"><!-- The correct answer expected of the student. --></p>
</div>
</div>
<div class="hints">
<!-- Any hints to show to the student. -->
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment