Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (34 sloc) 1.18 kb
<!DOCTYPE html>
<html data-require="math graphie graphie-helpers-arithmetic">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Subtract within 100</title>
<script data-main="../local-only/main.js" src="../local-only/require.js"></script>
</head>
<body>
<div class="exercise">
<div class="vars">
<div>
<var id="A">randRange(10, 100)</var>
<var id="B">randRange(1, A - 1)</var>
</div>
<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-each="DUMMY as dummy" data-update="numbers">
graph.subtractor.showHint();
</div>
</div>
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.