Skip to content
Newer
Older
100644 55 lines (53 sloc) 2.33 KB
813d28e @Cyrik added multiplciation_1_5 and 2
Cyrik authored
1 <!DOCTYPE html>
cde9e9f @jeresig Re-run the exercises through the updated cleaner.
jeresig authored
2 <html data-require="math graphie graphie-helpers graphie-helpers-arithmetic">
3 <head>
0f0c630 @cbhl Clean up the exercise files using the new cleaning utility. (II)
cbhl authored
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
89ca3cc @petercollingridge Multiplication hints show true value of numbers in intermediate steps
petercollingridge authored
5 <title>Multiplication with regrouping</title>
ac1415e @spicyj Use requirejs for module loading
spicyj authored
6 <script data-main="../local-only/main.js" src="../local-only/require.js"></script>
813d28e @Cyrik added multiplciation_1_5 and 2
Cyrik authored
7 </head>
8 <body>
4e4cb9b @beneater lint: tabs->spaces and jQuery->$ for exercises
beneater authored
9 <div class="exercise">
10 <div class="vars">
89ca3cc @petercollingridge Multiplication hints show true value of numbers in intermediate steps
petercollingridge authored
11 <var id="ORDER">rand(2)</var>
b2ba792 @beneater Align multiplication exercises to common core
beneater authored
12 <var id="SMALL_FACTOR">randRange(2, 9)</var>
13 <var id="BIG_FACTOR">randFromArray([randRange(100, 999), randRange(1000, 9999)])</var>
4e4cb9b @beneater lint: tabs->spaces and jQuery->$ for exercises
beneater authored
14 <var id="DUMMY">[]</var>
15 </div>
813d28e @Cyrik added multiplciation_1_5 and 2
Cyrik authored
16
4e4cb9b @beneater lint: tabs->spaces and jQuery->$ for exercises
beneater authored
17 <div class="problems">
18 <div>
89ca3cc @petercollingridge Multiplication hints show true value of numbers in intermediate steps
petercollingridge authored
19 <p class="problem">
20 <span data-if="ORDER === 0">
21 <code>\large{<var>SMALL_FACTOR</var> \times <var>BIG_FACTOR</var> = {?}}</code>
22 </span><span data-else="">
23 <code>\large{<var>BIG_FACTOR</var> \times <var>SMALL_FACTOR</var> = {?}}</code>
24 </span>
25 </p>
40d0536 @joelburget Rearrange answer area content within some exercises
joelburget authored
26 <div class="render-answer-area-here"></div>
d53a57c @jeresig Two doctypes were being output. Only output one.
jeresig authored
27 <div class="graphie" id="numbers">
89ca3cc @petercollingridge Multiplication hints show true value of numbers in intermediate steps
petercollingridge authored
28 graph.multiplier = new Multiplier(BIG_FACTOR, SMALL_FACTOR);
29 DUMMY = Array(graph.multiplier.getNumHints() - 1);
4e4cb9b @beneater lint: tabs->spaces and jQuery->$ for exercises
beneater authored
30 </div>
b958b0d Update multiplication_2.html
Isaac Fingerson authored
31 <div class="solution" data-forms="integer"><var>SMALL_FACTOR * BIG_FACTOR</var></div>
4e4cb9b @beneater lint: tabs->spaces and jQuery->$ for exercises
beneater authored
32 </div>
33 </div>
34 <div class="hints">
89ca3cc @petercollingridge Multiplication hints show true value of numbers in intermediate steps
petercollingridge authored
35 <div class="graphie" data-update="numbers">
36 graph.multiplier.show();
37 </div>
0f0c630 @cbhl Clean up the exercise files using the new cleaning utility. (II)
cbhl authored
38 <div class="graphie" data-each="DUMMY as dummy" data-update="numbers">
4e4cb9b @beneater lint: tabs->spaces and jQuery->$ for exercises
beneater authored
39 graph.multiplier.showHint();
40 </div>
89ca3cc @petercollingridge Multiplication hints show true value of numbers in intermediate steps
petercollingridge authored
41 <div>
42 <div class="graphie" data-each="DUMMY as dummy" data-update="numbers">
43 graph.multiplier.showHint();
44 </div>
45 <p data-if="ORDER === 0">
46 <code>\large{<var>SMALL_FACTOR</var> \times <var>BIG_FACTOR</var> = <var>SMALL_FACTOR * BIG_FACTOR</var>}</code>
47 </p><p data-else="">
48 <code>\large{<var>BIG_FACTOR</var> \times <var>SMALL_FACTOR</var> = <var>SMALL_FACTOR * BIG_FACTOR</var>}</code>
49 </p>
50 </div>
4e4cb9b @beneater lint: tabs->spaces and jQuery->$ for exercises
beneater authored
51 </div>
52 </div>
cde9e9f @jeresig Re-run the exercises through the updated cleaner.
jeresig authored
53 </body>
54 </html>
Something went wrong with that request. Please try again.