-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (49 loc) · 1.31 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="" />
<!-- style resetter -->
<link
rel="stylesheet"
href="https://meyerweb.com/eric/tools/css/reset/reset.css"
/>
<!-- my styles -->
<link rel="stylesheet" href="styles/base.css" />
<link rel="stylesheet" href="styles/style.css" />
<title>Minesweeper</title>
</head>
<body>
<main class="main-box">
<form id="settingsForm" class="settings">
<input
type="number"
name="size"
placeholder="size"
min="7"
max="100"
required
/>
<input
type="number"
name="mines"
placeholder="mines"
min="1"
max="999"
required
/>
<button type="submit">Change</button>
</form>
<div class="info-box">
<div id="markElm" class="mines">10</div>
<button class="restart-btn" id="restartBtn">
<div class="img-box"></div>
</button>
<div class="time-counter" id="timeElm">30</div>
</div>
<div class="field-grid" id="gameField"></div>
</main>
<script type="module" src="main.js"></script>
</body>
</html>