-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (53 loc) · 1.62 KB
/
index.html
File metadata and controls
59 lines (53 loc) · 1.62 KB
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
57
58
59
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Memory Game</title>
<link rel="stylesheet" href="assets/css/styles.css" />
<link rel="icon" href="assets/favicon/favicon.ico" type="image/x-icon" />
</head>
<body>
<header>
<div class="inner">
<h1>How Good Is Your Memory?</h1>
<div class="game-info">
<p>Moves: <span id="moves-count">0</span></p>
<p>Time: <span id="time-count">0</span>s</p>
<label for="difficulty-select">Difficulty:</label>
<select id="difficulty-select">
<option value="8" selected>Easy (8 cards)</option>
<option value="12">Normal (12 cards)</option>
<option value="24">Hard (24 cards)</option>
</select>
<button id="reset-btn">Reset Game</button>
<input
type="text"
id="best-name-input"
class="hidden"
placeholder="Enter your name"
/>
</div>
</div>
</header>
<main>
<section id="game-container" class="game-container">
<h2 class="visually-hidden">Memory Game Board</h2>
<!-- cards go here -->
</section>
</main>
<!-- Win Modal -->
<div id="win-modal" class="modal hidden">
<div class="modal-content">
<p id="win-text">You win!</p>
<button id="play-again-btn">Play Again</button>
</div>
</div>
<footer>
<div class="inner">
<p>Developed by Mr. Husse</p>
</div>
</footer>
<script src="assets/js/script.js"></script>
</body>
</html>