generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
171 lines (166 loc) · 5.98 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="Train your brain with a challenging number puzzle. Suitable for all skill levels." />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="image" property="og:image" content="https://github.com/ihitrec/Sudoku/raw/master/assets/readme_images/final-design.png" />
<title>Sudoku</title>
<link rel="icon" type="image/png" href="assets/images/icon.png" />
<script src="https://kit.fontawesome.com/69b2179d00.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="instructions-overlay">
<div class="instructions">
<h1>Welcome to Sudoku! <i class="far fa-times-circle"></i></h1>
<p> The game rules are simple. Each row, column and square contain 9 cells and need to have numbers from 1
to 9. This means that numbers should not be repeated. The game is based on logic so no guessing is
required.</p>
<p>
There are 3 difficulty levels available. From easier ones suited for beginners to more challenging ones
for expert Sudoku players. If you get stuck, use the hint button which gives you the answer to a random
cell.
</p>
</div>
</div>
<div class="scale">
<div>
<h1>Sudoku</h1>
<table class="intro">
<tr>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr class="bottom">
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr class="bottom">
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td class="right"></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
<div class="controls intro">
<div class="first-row">
<h1 class="difficulty-headline">Difficulty <i class="fas fa-sort-down"></i><i class="fas fa-minus"></i>
</h1>
<div id="timer">00:00</div>
</div>
<div class="difficulty">
<span>Intermediate</span>
<input class="slider" type="range" min="1" max="3">
<span class="margin">Casual</span>
<span>Expert</span>
</div>
<div id="numpad">
<span class="num">1</span>
<span class="num">2</span>
<span class="num">3</span>
<span class="num">4</span>
<span class="num">5</span>
<span class="num">6</span>
<span class="num">7</span>
<span class="num">8</span>
<span class="num">9</span>
</div>
<div class="buttons">
<button class="btn" id="new-game">New Game</button>
<button class="btn" id="hint">Hint</button>
<button class="btn" id="instructions-btn">Instructions</button>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous"></script>
<script src="assets/js/main.js"></script>
</body>
</html>