-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
88 lines (87 loc) · 4.33 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
76
77
78
79
80
81
82
83
84
85
86
87
88
<!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">
<!-- Bootstrap4 -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<!-- Icons -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
<!-- font-family: 'Cinzel', serif; -->
<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=Cinzel:wght@500&display=swap" rel="stylesheet">
<!-- font-family: 'Courgette', cursive; -->
<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=Cinzel:wght@500&family=Courgette&display=swap" rel="stylesheet">
<!-- font-family: 'Abril Fatface', cursive; -->
<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=Abril+Fatface&display=swap" rel="stylesheet">
<!-- font-family: 'Rampart One', cursive; -->
<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=Abril+Fatface&family=Rampart+One&display=swap" rel="stylesheet">
<!-- Audio sounds -->
<audio id="sound1">
<source src="https://s3.amazonaws.com/freecodecamp/simonSound1.mp3"></source>
</audio>
<audio id="sound2">
<source src="https://s3.amazonaws.com/freecodecamp/simonSound2.mp3"></source>
</audio>
<audio id="sound3">
<source src="https://s3.amazonaws.com/freecodecamp/simonSound3.mp3"></source>
</audio>
<audio id="sound4">
<source src="https://s3.amazonaws.com/freecodecamp/simonSound4.mp3"></source>
</audio>
<audio id='sound5'><source src="https://media.geeksforgeeks.org/wp-content/uploads/20190531135120/beep.mp3"></source></audio>
<!-- CSS file -->
<link rel="stylesheet" href="style.css">
<title>Simon Game</title>
</head>
<body>
<!-- Header -->
<header class="container-fluid d-flex justify-content-center align-items-center mt-3" id="nav1">
<h2 class="text-center my-auto">SIMON GAME</h2>
</header> <br>
<!-- Game -->
<div class="container text-center">
<p id="demo">Round: 0</p>
<h4 id="result">START GAME</h4>
</div>
<div class="container text-center align-items-center justify-content-center d-flex" id="n1">
<div id="outerCircle">
<div id="topLeft" class="1"></div>
<div id="topRight" class="2"></div>
<div id="bottomRight" class="3"></div>
<div id="bottomLeft" class="4"></div>
<div id="innerCircle">
<div class="row text-center">
<div class="col-12 mt-md-3 mt-2" id="name1" >SIMON !</div>
</div>
<div class="row text-center my-2 my-md-4">
<div class="col-12 text-center">
<button type="button" class="btn btn-outline-dark" style="font-family: 'Courgette', cursive; font-weight: bold;" id="startG">START</button>
</div>
</div>
<div class="row text-center">
<!-- <div class="col-12">
<input type="checkbox" name="strict" id="strict">
<label for="strict">Strict</label>
</div> -->
<div class="col-12" id="iconMusic">
<i class="fas fa-music"></i>
</div>
</div>
</div>
</div>
<!-- Javascript file -->
<script src="app2.js"></script>
</body>
</html>