47 lines
1.4 KiB
HTML
47 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="style.css">
|
|
|
|
<title>Minesweeper</title>
|
|
</head>
|
|
<body>
|
|
<div id="container">
|
|
<div id="difficulty-container">
|
|
<label for="difficulty">Difficulty:</label>
|
|
<select name="difficulty" id="difficulty">
|
|
<option value="easy" selected>Easy</option>
|
|
<option value="medium">Medium</option>
|
|
<option value="hard">Hard</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div id="board-container">
|
|
<div id="board-header" class="hide">
|
|
<div id="flags-count-container" class="hide">
|
|
<span id="flags-count">0</span>
|
|
<img src="assets/icons/flag.svg">
|
|
</div>
|
|
|
|
<div id="result-container" class="hide">
|
|
<span id="result"></span>
|
|
</div>
|
|
|
|
<div id="timer-container" class="hide">
|
|
<p id="timer">00:00</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="board" class="hide"></div>
|
|
</div>
|
|
|
|
<button type="button" id="start-game">Start</button>
|
|
</div>
|
|
|
|
<script src="main.js"></script>
|
|
</body>
|
|
</html> |