-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddsub.html
66 lines (55 loc) · 1.92 KB
/
addsub.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="container">
<div class="start">
<div class="page-header">
<h1>Addition & Subtraction Test</h1>
</div>
<a href="#" id="start_new_test" class="btn btn-success btn-lg">Let's go!</a> or
<a href="index.html" class="btn btn-info btn-lg">Back to the list</a>
</div>
<div class="test-field">
<div class="page-header">
<h1 id="test_title">Question</h1>
</div>
<span id="test_a"></span> <span id="test_op"></span> <span id="test_b"></span> = <input type="text" id="test_answer" pattern="\d*">
<a id="submit_answer" class="btn btn-lg btn-success">OK</a>
<span id="test_ok">Good!</span>
<span id="test_fail">Wrong :(</span>
</div>
<div class="test-results">
<div class="page-header">
<h1>Results</h1>
</div>
<table class="table stats">
<tr>
<th>#</th>
<th></th>
<th></th>
<th></th>
<th></th>
<th>Correct</th>
<th>Your Answer</th>
</tr>
</table>
<h1>Addition</h1>
<table class="table" id="stats_add">
</table>
<h1>Subtraction</h1>
<table class="table" id="stats_sub">
</table>
</div>
</div><!-- /.container -->
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="scripts-addsub.js"></script>
</body>
</html>