-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
174 lines (144 loc) · 7.97 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE html>
<!--
Design By Keyur Diwan
-->
<html lang="en">
<head>
<title>Sudoku Game</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<script src="sudoku.js"></script>
</head>
<div id="overlay"></div>
<body class = "container">
<div class = "action-container">
<div id = "score">
<h2 style="text-align: center;"> <span id="timer">0:00</span></h2>
</div>
<div class = "actions" id = "actions">
<div class = "levels">
<select name="level" id="level">
<option value="1" selected>easy</option>
<option value="2">medium</option>
<option value="3">hard</option>
</select>
</div>
<div class = "newGame">
<button type="button" onclick="getBoard()">new game</button>
</div>
<div class = "clearBoard">
<button id="clearButton" type="button" onclick = "clearboard()"" disabled>clear board</button>
</div>
</div>
<div class = "submit">
<button id = "submitButton" disabled type = "button" onclick="check()"> submit </button>
</div>
</div>
<div class="board-container">
<table id="grid">
<tr>
<td><input class="row-0 col-0 square-0" disabled></td>
<td><input class="row-0 col-1 square-0" disabled></td>
<td><input class="row-0 col-2 square-0" disabled></td>
<td><input class="row-0 col-3 square-1" disabled></td>
<td><input class="row-0 col-4 square-1" disabled></td>
<td><input class="row-0 col-5 square-1" disabled></td>
<td><input class="row-0 col-6 square-2" disabled></td>
<td><input class="row-0 col-7 square-2" disabled></td>
<td><input class="row-0 col-8 square-2" disabled></td>
</tr>
<tr>
<td><input class="row-1 col-0 square-0" disabled></td>
<td><input class="row-1 col-1 square-0" disabled></td>
<td><input class="row-1 col-2 square-0" disabled></td>
<td><input class="row-1 col-3 square-1" disabled></td>
<td><input class="row-1 col-4 square-1" disabled></td>
<td><input class="row-1 col-5 square-1" disabled></td>
<td><input class="row-1 col-6 square-2" disabled></td>
<td><input class="row-1 col-7 square-2" disabled></td>
<td><input class="row-1 col-8 square-2" disabled></td>
</tr>
<tr>
<td><input class="row-2 col-0 square-0" disabled></td>
<td><input class="row-2 col-1 square-0" disabled></td>
<td><input class="row-2 col-2 square-0" disabled></td>
<td><input class="row-2 col-3 square-1" disabled></td>
<td><input class="row-2 col-4 square-1" disabled></td>
<td><input class="row-2 col-5 square-1" disabled></td>
<td><input class="row-2 col-6 square-2" disabled></td>
<td><input class="row-2 col-7 square-2" disabled></td>
<td><input class="row-2 col-8 square-2" disabled></td>
</tr>
<tr>
<td><input class="row-3 col-0 square-3" disabled></td>
<td><input class="row-3 col-1 square-3" disabled></td>
<td><input class="row-3 col-2 square-3" disabled></td>
<td><input class="row-3 col-3 square-4" disabled></td>
<td><input class="row-3 col-4 square-4" disabled></td>
<td><input class="row-3 col-5 square-4" disabled></td>
<td><input class="row-3 col-6 square-5" disabled></td>
<td><input class="row-3 col-7 square-5" disabled></td>
<td><input class="row-3 col-8 square-5" disabled></td>
</tr>
<tr>
<td><input class="row-4 col-0 square-3" disabled></td>
<td><input class="row-4 col-1 square-3" disabled></td>
<td><input class="row-4 col-2 square-3" disabled></td>
<td><input class="row-4 col-3 square-4" disabled></td>
<td><input class="row-4 col-4 square-4" disabled></td>
<td><input class="row-4 col-5 square-4" disabled></td>
<td><input class="row-4 col-6 square-5" disabled></td>
<td><input class="row-4 col-7 square-5" disabled></td>
<td><input class="row-4 col-8 square-5" disabled></td>
</tr>
<tr>
<td><input class="row-5 col-0 square-3" disabled></td>
<td><input class="row-5 col-1 square-3" disabled></td>
<td><input class="row-5 col-2 square-3" disabled></td>
<td><input class="row-5 col-3 square-4" disabled></td>
<td><input class="row-5 col-4 square-4" disabled></td>
<td><input class="row-5 col-5 square-4" disabled></td>
<td><input class="row-5 col-6 square-5" disabled></td>
<td><input class="row-5 col-7 square-5" disabled></td>
<td><input class="row-5 col-8 square-5" disabled></td>
</tr>
<tr>
<td><input class="row-6 col-0 square-6" disabled></td>
<td><input class="row-6 col-1 square-6" disabled></td>
<td><input class="row-6 col-2 square-6" disabled></td>
<td><input class="row-6 col-3 square-7" disabled></td>
<td><input class="row-6 col-4 square-7" disabled></td>
<td><input class="row-6 col-5 square-7" disabled></td>
<td><input class="row-6 col-6 square-8" disabled></td>
<td><input class="row-6 col-7 square-8" disabled></td>
<td><input class="row-6 col-8 square-8" disabled></td>
</tr>
<tr>
<td><input class="row-7 col-0 square-6" disabled></td>
<td><input class="row-7 col-1 square-6" disabled></td>
<td><input class="row-7 col-2 square-6" disabled></td>
<td><input class="row-7 col-3 square-7" disabled></td>
<td><input class="row-7 col-4 square-7" disabled></td>
<td><input class="row-7 col-5 square-7" disabled></td>
<td><input class="row-7 col-6 square-8" disabled></td>
<td><input class="row-7 col-7 square-8" disabled></td>
<td><input class="row-7 col-8 square-8" disabled></td>
</tr>
<tr>
<td><input class="row-8 col-0 square-6" disabled></td>
<td><input class="row-8 col-1 square-6" disabled></td>
<td><input class="row-8 col-2 square-6" disabled></td>
<td><input class="row-8 col-3 square-7" disabled></td>
<td><input class="row-8 col-4 square-7" disabled></td>
<td><input class="row-8 col-5 square-7" disabled></td>
<td><input class="row-8 col-6 square-8" disabled></td>
<td><input class="row-8 col-7 square-8" disabled></td>
<td><input class="row-8 col-8 square-8" disabled></td>
</tr>
</table>
</div>
<div class="footer">
<p> made by <a href="https://www.linkedin.com/in/keyur-diwan-889a59189/">Keyur Diwan</a> </p>
</div>
</body>
</html>