-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTB.html
More file actions
85 lines (64 loc) · 2.69 KB
/
STB.html
File metadata and controls
85 lines (64 loc) · 2.69 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="STB.css">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>SMASH THE BUTTON</title>
</head>
<body>
<div class="container-shadowbox">
<div class="head-title">
<h1>SMASH THE BUTTON</h1>
</div>
<div class="imgfist">
<img src="hazmka2tgl-no-background.png" alt="firefist">
</div>
<div class="description">
<p>Click the space bar for 10 seconds. Can you reach 100 clicks in 10 seconds?</p>
</div>
<div class="container-spacebarclick">
<p>You have clicked space bar <span id="clickcounter"><b> 0</b></span> times</p>
</div>
<div class="container-time"><i class="fa-solid fa-clock"></i> <span id="timer">Time:0.0s</span>
</div>
<div class="container-results">
<div id="averageDisplay">
<span id="scoreDisplay"></span>
</div>
</div>
<div class="container-start">
<button class="startbutton"><span id="startrefreshdisplay">Start <i id="playIcon" class="fa-solid fa-play" style="color: #ffffff;"></i> </span></button>
<button class="home" onclick="homeclick()"><i class="fa fa-home" aria-hidden="true"></i> </button>
</div>
<div class="container-home"></div>
</div>
<!-- <div class="homerestart-container">
<div class="horizontal-flex">
<button class="submitAnswer btn" onclick="submitGuess()" required>Submit</button>
<button class="refresh-btn btn" onclick="refreshClick()">
<i id="refreshButton" class="fa fa-refresh fa-2x" aria-hidden="true"></i>
</button>
</div>
</div>
--> <audio id="homecardAudio">
<source src="shooting-sound-fx-159024.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<audio id="spacebarAudio">
<source src="click-47609.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<audio id="loseAudio">
<source src="RPReplay_Final1714624276.mp4" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<audio id="winAudio">
<source src="mixkit-game-loot-win-2013.wav" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
</body>
<script src="STB.js"></script>
</html>