-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (43 loc) · 1.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Minesweeper</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Lato&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<main class="game">
<header class="header border border--convex">
<article class="header-counter" data-counter>0</article>
<button class="header-reset border border--concave" data-button-reset>
<svg class="header-button">
<use href="./assets/sprite.svg#neutral"></use>
</svg>
</button>
<article class="header-counter" data-timer>0</article>
</header>
<article class="game-board border border--convex" data-board>
</article>
<article class="game-panel border border--convex">
<header class="panel-header">
<h1 class="panel-heading">Select Difficulty</h1>
</header>
<section class="panel-buttons">
<button class="button" data-button-easy>Easy</button>
<button class="button" data-button-normal>Normal</button>
<button class="button" data-button-expert>Expert</button>
</section>
</article>
<article class="modal hide" data-modal>
<section class="modal-content">
<h2 class="modal-text" data-modal-header>You won!</h2>
<button class="modal-button" data-modal-button>Play again</button>
</section>
</article>
</main>
<script src="./js/Game.js" type="module"></script>
</body>
</html>