-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
40 lines (34 loc) · 1.11 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" src="solver.js"></script>
</head>
<body onload="init()">
<h1>Sudoku Solver</h1>
<div id="tableWrapper">
<div id="table"></div>
</div>
<div class="buttons">
<div id="solve" class="primary button"><p>Solve Puzzle</p></div>
<div id="test" class="button"><p>Load Hard Test Puzzle</p></div>
<div id="testEasy" class="button"><p>Load Easy Test Puzzle</p></div>
<div id="reset" class="button"><p>Reset Puzzle</p></div>
</div>
<div id="loading" class="popup hidden">
<p>Loading your solution, please wait a moment!</p>
</div>
<div id="solved" class="popup hidden">
<p>Your puzzle is solved!</p>
</div>
<div id="failed" class="popup hidden">
<p>Your puzzle cannot be solved!</p>
</div>
<div id="loadingScreen" class="">
<div id="spinny"><script type="text/javascript" src="spinny.js"></script></div>
<p>Sudoku solver is loading!</p>
</div>
</body>
</html>