-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (58 loc) · 2.01 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
52
53
54
55
56
57
58
<!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" />
<title>Simon Says</title>
<link rel="stylesheet" href="css/styles.css" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap"
/>
<script defer src="js/main.js"></script>
</head>
<body>
<h1>Simon Says</h1>
<div class="top">
<p id="info">Click <b>play</b> to start! Make it to 12 to win!</p>
<button id="play">PLAY</button>
</div>
<div class="score">
<h3>High Score: <span id="high-score">0</span></h3>
<h3>Level: <span id="level">0</span></h3>
</div>
<div class="container">
<div class="board unclickable">
<div data-tile="green" class="tile green inactive"></div>
<div data-tile="red" class="tile red inactive"></div>
<div data-tile="blue" class="tile blue inactive"></div>
<div data-tile="yellow" class="tile yellow inactive"></div>
</div>
</div>
<div class="footer">
Copyright © 2023
<a href="https://twitter.com/thebardIRL" target="_blank">Meghan Bucher</a>
/
<a href="https://github.com/bardIRL" target="_blank">bardIRL</a>
</div>
<audio
src="https://s3.amazonaws.com/freecodecamp/simonSound1.mp3"
data-sound="red"
></audio>
<audio
src="https://s3.amazonaws.com/freecodecamp/simonSound2.mp3"
data-sound="green"
></audio>
<audio
src="https://s3.amazonaws.com/freecodecamp/simonSound3.mp3"
data-sound="blue"
></audio>
<audio
src="https://s3.amazonaws.com/freecodecamp/simonSound4.mp3"
data-sound="yellow"
></audio>
<audio src="sounds/game-over.wav" data-sound="game-over"></audio>
<audio src="sounds/game-win.wav" data-sound="game-win"></audio>
</body>
</html>