-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (38 loc) · 1.26 KB
/
Copy pathindex.html
File metadata and controls
43 lines (38 loc) · 1.26 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Memory game</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="main-container">
<div class="header">
<label class="title">Select cards</label>
<div class="selection">
<select name="cards" id="cards">
<option id="filterFour" value="4">4</option>
<option id="filterEight" value="8">8</option>
<option id="filterTwelve" value="12">12</option>
</select>
<button class="btn-primary" id="btn" type="button">Select</button>
</div>
<div id="bestTime"></div>
<div id="timer">Time: 0 seconds</div>
</div>
<section class="memory-game" id="gameContainer">
<!-- Memory cards will be inserted here by JavaScript -->
</section>
</div>
<div id="modal" class="modal">
<div class="modal-content">
<h5 class="modal-title">You are a winner!!!</h5>
<div class="txt-container">
<p>Time spent:<span id="timeSpent"></span>seconds</p>
</div>
<button class="btn-primary" id="newGameBtn">New game</button>
</div>
</div>
<script type="module" src="main.js"></script>
</body>
</html>