forked from FranzRivas-Ksquare/project1_simon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (88 loc) · 3.06 KB
/
index.html
File metadata and controls
96 lines (88 loc) · 3.06 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!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">
<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=Bungee+Spice&family=Oswald&family=Reem+Kufi+Ink&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./styles.css">
<link href="./index.js">
<title>Simon Game</title>
<audio id="greenAudio">
<source src="https://s3.amazonaws.com/freecodecamp/simonSound1.mp3"></source>
</audio>
<audio id="redAudio">
<source src="https://s3.amazonaws.com/freecodecamp/simonSound2.mp3"></source>
</audio>
<audio id="yellowAudio">
<source src="https://s3.amazonaws.com/freecodecamp/simonSound3.mp3"></source>
</audio>
<audio id="blueAudio">
<source src="https://s3.amazonaws.com/freecodecamp/simonSound4.mp3"></source>
</audio>
<audio id="startAudio">
<source src="./media/sounds/button-start.mp3"></source>
</audio>
<audio id="wrongAudio">
<source src="./media/sounds/button-wrong.mp3"></source>
</audio>
<audio id="winnerAudio">
<source src="./media/sounds/button-winner.mp3"></source>
</audio>
</head>
<body>
<header>
<h1>THE SIMON GAME</h1>
</header>
<div id="game">
<div id="leftparent">
<div class="left">
<h2>Difficulty</h2>
<div class="difficulty">
<button type="button" class="level" id="easy">
EASY
</button>
<button type="button" class="level" id="normal">
NORMAL
</button>
<button type="button" class="level" id="hard">
HARD
</button>
</div>
<br>
<h2>prompt history</h2>
<div class="historie">
</div>
</div>
</div>
<div id="simonparent">
<div id="simon">
<div id="circle"><h3>SIMON!</h3></div>
<div id="firstGrn"></div>
<div id="secondRed"></div>
<div id="thirdBlu"></div>
<div id="fourthYlw"></div>
</div>
</div>
<div class="rightparent">
<div class="right">
<h2>Lives</h2>
<div id="lives">
</div>
<br>
<div id="main">
<button type="button" id="start">Start</button>
<h2>Level</h2>
<div id="count"><strong></strong>
</div> <!--main end-->
</div>
</div>
</div>
</div> <!--end of game container-->
<!-- Good luck! -->
<script src="index.js"></script>
<!--<script type="module" src="./index.js"></script>-->
</body>
</html>