-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
60 lines (60 loc) · 1.46 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Sudoku Generator</title>
<link rel="stylesheet" type="text/css" href="index.css" />
</head>
<body>
<table>
<tr>
<td>Number of puzzles:</td>
<td colspan="2">
<input
type="text"
id="numberOfPuzzles"
size="2"
maxlength="4"
value="1"
/>
(maximum 1000)
</td>
</tr>
<tr>
<td>Puzzles per page:</td>
<td colspan="2">
<select id="perPage">
<option value="1">1</option>
<option value="4">4</option>
</select>
</td>
</tr>
<tr>
<td>Difficulty:</td>
<td colspan="2">
<select id="difficulty" name="difficulty">
<option value="0">Random</option>
<option value="1">Easy</option>
<option value="2">Medium</option>
<option value="3">Hard</option>
<option value="4">Very hard</option>
</select>
</td>
</tr>
<tr>
<td>Include solutions:</td>
<td><input type="checkbox" id="solutions" name="solutions" /></td>
</tr>
<tr>
<td><button id="btnGo">Generate puzzles</button></td>
</tr>
<tr>
<td>
<br />
<div id="loaderRoot"></div>
</td>
</tr>
</table>
<script src="./scripts/renderer.js"></script>
</body>
</html>