-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (64 loc) · 2.17 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Simon Says</title>
<!-- CSS -->
<link rel="stylesheet" href="./index.css" />
<!-- Bootstrap -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
crossorigin="anonymous" />
<!-- JQUERY Script -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<!-- Confetti -->
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.9.0/dist/confetti.browser.min.js"></script>
</head>
<body style="background-color: #333">
<div class="container">
<div class="row mt-3 mt-md-4">
<div class="col text-center">
<button class="startHere">Play</button>
<h1 class="Level mt-3 mt-md-4" style="display: none">Level 1</h1>
</div>
</div>
<!-- FIRST TWO BOXES -->
<div class="row mt-3 mt-md-4">
<div class="col d-flex justify-content-center">
<div
class="green PlayBox color-green"
id="green"
data-audio="/Voices/green.mp3"></div>
<div
class="red PlayBox color-red"
id="red"
data-audio="/Voices/red.mp3"></div>
</div>
</div>
<!-- Last two boxes -->
<div class="row mt-2 mt-md-4">
<div class="col d-flex justify-content-center">
<div
class="blue PlayBox color-blue"
id="blue"
data-audio="/Voices/blue.mp3"></div>
<div
class="yellow PlayBox color-yellow"
data-audio="/Voices/yellow.mp3"
id="yellow"></div>
</div>
</div>
<div class="row mt-1 mt-md-2">
<div class="col d-flex justify-content-center">
<div class="m-3">
<h1 class="userScore h1" style="display: none">You Scored: 0</h1>
</div>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>