-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (31 loc) · 1.01 KB
/
index.html
File metadata and controls
39 lines (31 loc) · 1.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Memory Game!</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@500&family=Open+Sans&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="memory-game.css" />
</head>
<body>
<h1>Memory Game</h1>
<table>
<tr>
<td>Your Score:</td>
<td class="currentScore"><label for="currentScore" id="currentScore"></td>
<td>Best Score:</td>
<td class="bestScore"><label for="bestScore" id="bestScore"></label></td>
</tr>
</table>
<br>
<section class="section">
<div id="game"></div>
</section>
<br>
<span class="retry"><button id="retry">Try Again</button></span>
<span class="reset"><button id="reset">Reset Scores</button></span>
<script src="memory-game.js"></script>
</body>
</html>