Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (32 sloc) 0.847 kB
<!DOCTYPE html>
<html data-require="math graphie graphie-helpers-arithmetic">
<head>
<meta charset="UTF-8" />
<title>Subtraction 4</title>
<script src="../khan-exercise.js"></script>
</head>
<body>
<div class="exercise">
<div class="vars">
<var id="A">randRange( 20, 9999 )</var>
<var id="B">randRange( 1, A - 1 )</var>
<var id="DUMMY">[]</var>
</div>
<div class="problems">
<div>
<div class="graphie" id="numbers">
graph.subtractor = new Subtractor( A, B );
graph.subtractor.show();
DUMMY = Array( graph.subtractor.getNumHints() );
</div>
<div class="solution" data-forms="integer"><var>A - B</var></div>
</div>
</div>
<div class="hints">
<div class="graphie" data-update="numbers" data-each="DUMMY as dummy">
graph.subtractor.showHint();
</div>
</div>
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.