-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (52 loc) · 1.77 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Simon Game</title>
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="https://vuejs.org/js/vue.min.js"></script>
<script src="scripts.js"></script>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1 class="header-text">Simple Simon</h1>
<main class="app">
<div class="controls">
<p class="current-level">Level: {{ level }}</p>
<!-- p>Check Level: {{ checkLevel }} </span></p>
<p>Generated: {{ currentPattern }} </p>
<p>User-pressed: {{ userPattern }}</p>
<p>Game blinks: {{ blinks }}</p -->
<button class="start">Start</button>
<div class="strict-container">
<input type="checkbox" id="strict">
<label for="strict">Strict Mode</label>
</div>
</div>
<div id="buttons">
<div class="row">
<div id="green" class="play" data-color="g">
</div>
<div id="red" class="play" data-color="r">
</div>
</div>
<div class="row">
<div id="yellow" class="play" data-color="y">
</div>
<div id="blue" class="play" data-color="b">
</div>
</div>
</div>
<audio src="https://s3.amazonaws.com/freecodecamp/simonSound1.mp3" id="audio-r" preload="auto"></audio>
<audio src="https://s3.amazonaws.com/freecodecamp/simonSound2.mp3" id="audio-b" preload="auto"></audio>
<audio src="https://s3.amazonaws.com/freecodecamp/simonSound3.mp3" id="audio-g" preload="auto"></audio>
<audio src="https://s3.amazonaws.com/freecodecamp/simonSound4.mp3" id="audio-y" preload="auto"></audio>
</main>
<script id="debug">
new Vue({
el: ".current-level",
data: game
});
</script>
</body>
</html>