-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (56 loc) · 2.4 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
<!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="apple-touch-icon" sizes="180x180" href="./favicon/cold/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon/cold/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon/cold/favicon-16x16.png">
<link rel="manifest" href="./favicon/cold/site.webmanifest">
<link rel="stylesheet" href="./css/style.css" />
<link
href="https://fonts.googleapis.com/css2?family=Lato&display=swap"
rel="stylesheet"
/>
</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 type="module" src="./js/Game.js"></script>
</body>
</html>