-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (70 loc) · 1.94 KB
/
index.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Math examples generator</title>
<style>
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
font-size: 16px;
line-height: 1.4rem;
}
.form-box {
padding: 20px;
}
.form-box * {
display: block;
}
.table-box {
padding: 20px;
}
table {
width: 100%;
}
td {
border-bottom: 1px solid #ccc;
}
@media print {
.no-print {
display:none;
}
}
</style>
</head>
<body>
<div class="form-box no-print">
<form id="generateForm">
<label for="operations">Operations:</label>
<select id="operations" multiple>
<option value="+">Addition +</option>
<option value="-">Subtraction - </option>
<option value="*">Multiplication ·</option>
<option value=":">Division:</option>
</select>
<label for="maxEquals">Max equals:</label>
<input id="maxEquals">
<label for="termOneMin">Term one Min value:</label>
<input id="termOneMin">
<label for="termOneMax">Term one Max value:</label>
<input id="termOneMax">
<label for="termTwoMin">Term Two Min value:</label>
<input id="termTwoMin">
<label for="termTwoMax">Term Two Max value:</label>
<input id="termTwoMax">
<br />
<button id="generate">
Generate
</button>
</form>
</div>
<div class="table-box" id="tableBox">
test
</div>
<script src="index.js"></script>
</body>
</html>