-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmath.html
More file actions
53 lines (49 loc) · 996 Bytes
/
Copy pathmath.html
File metadata and controls
53 lines (49 loc) · 996 Bytes
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
<!DOCTYPE html>
<html>
<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=0.75, maximum-scale=0.75, user-scalable=no" />
<head>
<title>Math Game</title>
</head>
<style>
html,
body {
margin: 0;
padding: 0;
-webkit-user-select: none;
-moz-user-select: -moz-none;
-ms-user-select: none;
user-select: none;
}
table {
display: table;
width: 100%;
height: 50%;
font-size: 7em;
}
input {
font-size: 1em;
width: 100%;
height: 100%;
}
</style>
<body>
Correct: {{ .Correct }}<p \>
Incorrect: {{ .Incorrect }}
<table>
<tbody>
<tr>
<td></td>
<td>{{ .Current.Operand1 }}</td>
</tr>
<tr>
<td>{{ .Current.Operator }}</td>
<td>{{ .Current.Operand2 }}</td>
</tr>
<tr>
<td>=</td>
<td> <form method="post"><input type="number" name="Result" value="" autofocus></form></td>
</tr>
</tbody>
</table>
</body>
</html>