-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (42 loc) · 1.38 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
<!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>Memory Match</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Merienda" rel="stylesheet">
</head>
<body>
<h1 class="title">Memory Match</h1>
<!-- Stats -->
<div class="stats-container">
<div class="stats-title">STATS:</div>
<div class="games-played">
<div class="label">Games Played:</div>
<div class="value">0</div>
</div>
<div class="attempts">
<div class="label">Attempts:</div>
<div class="value">0</div>
</div>
<div class="accuracy">
<div class="label">Accuracy:</div>
<div class="value">0%</div>
</div>
<button id="btn">Reset Game</button>
</div>
<!-- Main game section -->
<div id='game'></div>
<!-- Modal -->
<button class="trigger">Click here to trigger the modal!</button>
<div class="modal">
<div class="modal-content">
<span class="close-button">×</span>
<h1>Congratulations you're a winner 🎉🎉!</h1>
</div>
</div>
<script src="script.js"></script>
</body>
</html>