-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (46 loc) · 1.48 KB
/
index.html
File metadata and controls
49 lines (46 loc) · 1.48 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
<!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>Freshman Simon Game Tutorial</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main class="game">
<header>
<h1 class="heading js-heading">Simon Game</h1>
</header>
<section class="tile-container js-container unclickable">
<div class="tile tile-red" data-tile="red"></div>
<div class="tile tile-green" data-tile="green"></div>
<div class="tile tile-blue" data-tile="blue"></div>
<div class="tile tile-yellow" data-tile="yellow"></div>
</section>
<footer class="info-section">
<button class="start-button js-start">Start</button>
<span class="info js-info hidden"></span>
</footer>
</main>
<div class="hidden">
<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>
</div>
<script src="main.js"></script>
</body>
</html>