Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (40 sloc) 1.46 KB
<!DOCTYPE html>
<html data-require="math graphie graphie-helpers-arithmetic word-problems">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Subtraction 1</title>
<script src="../khan-exercise.js"></script>
<div class="exercise">
<div class="vars">
<var id="A">randRange( 1, 10 )</var>
<var id="B">randRange( 1, A )</var>
<div class="problems">
<div class="question">
<div class="graphie">
range: [ [0, 12], [-1, 1] ]
label( [0, 0],
"\\Huge{\\color{#6495ED}{" + A + "} - \\color{#28AE7B}{" + B + "} = {?}}",
"right" );
<div class="solution" data-forms="integer"><var>A - B</var></div>
<div class="hints">
<div class="graphie" id="circles" style="float: left;">
drawCircles( A, "#6495ED" );
<div class="graphie" data-update="circles">
crossOutCircles( A, B, "#FFA500" );
<p style="clear: left;">We began with <var>plural( A, "dot" )</var> and crossed out <var>B</var> of them, so we are left with <var>plural( A - B, "dot" )</var>.</p>
Something went wrong with that request. Please try again.