-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (101 loc) · 3.07 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
89
90
91
92
93
94
95
96
97
98
99
100
101
<!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=Bakbak+One&display=swap"
rel="stylesheet"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/assets/images/icons/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/assets/images/icons/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/assets/images/icons/favicon-16x16.png"
/>
<link rel="manifest" href="/assets/images/icons/site.webmanifest" />
<link rel="stylesheet" href="/css/style.css" />
<title>Guess Character</title>
</head>
<body>
<div class="menu">
<div class="menuContainer">
<h1>Guess Character</h1>
<button class="startButton">Play</button>
<button class="settingsButton">Settings</button>
</div>
</div>
<div class="settings">
<div class="settingsContainer">
<audio class="audio" autoplay loop>
<source src="assets/music/electroswing.mp3" type="audio/mpeg" />
</audio>
<h1>Settings</h1>
<hr />
<h2>Music:</h2>
<div class="volumeControls">
<input
type="range"
class="volumeSlider"
min="0"
max="100"
step="10"
value="30"
/>
</div>
<div class="volumeDisplay"></div>
<hr />
<button class="backtomenuButton">Back to menu</button>
</div>
</div>
<div class="game">
<div class="gameContainer">
<div class="characterImage"></div>
<form class="form">
<input
type="text"
class="answerInput"
placeholder="Name the character"
autocomplete="off"
/>
<button type="submit" class="submitButton">Submit</button>
</form>
<hr />
<div class="hintMenu">
<button class="hintButton">🔑</button>
<div class="message">Your points: 0</div>
<div class="hint" style="display: none">Hint:</div>
</div>
<hr />
<div class="timer">
<span class="timerPercent">20 seconds left</span>
<div class="timerBar"></div>
</div>
</div>
</div>
<div class="gameOver" style="display: none">
<div class="overContainer">
<div class="gameOverText">
<h1 class="gameOverMessage"></h1>
<h2 class="gameOverSubmessage"></h2>
</div>
<button class="restartButton">Play again</button>
</div>
</div>
<script type="module" src="main.js"></script>
</body>
</html>