-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (31 loc) · 1.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Minesweeper</title>
<link href="./main.css" rel="stylesheet" />
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
</head>
<body>
<header>
<h1>Minesweeper</h1>
</header>
<main>
<section id="inputs">
<label for="height">Height</label>
<input name="height" id="height" type="number" min="1" value="15" />
<label for="width">Width</label>
<input name="width" id="width" type="number" min="1" value="15" />
<label for="Mines">Mines</label>
<input name="mines" id="mines" type="number" min="0" value="30" />
<button id="start-game" onClick="startGame()">Start Game</button>
</section>
<div id="game">
<section id="game-area"></section>
</div>
</main>
<script type="text/javascript" src="./main.js"></script>
</body>
</html>