-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
82 lines (64 loc) · 2.56 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
<!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">
<title>Clicky Circle</title>
<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=Kdam+Thmor+Pro&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- TITLE -->
<h1 class="title" id="top">Clicky Circle!</h1>
<!-- Trigger/Open The Modal -->
<button id="myBtn">Click Here For Instructions</button>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div id="theModal" class="modal-content">
<span class="close">×</span>
<h2>Welcome to Clicky Circle</h2>
<p>Click the circle as much as you can within 80 seconds. Click the multipliers that pop up and you will get auto clicks<br>The timer will start on your first click</p>
</div>
</div>
<!-- Countdown Timer -->
<div id="countDown"></div>
<!-- Main Button -->
<div class="clickThis">
<button id="mainButton" class="clickBtn"></button>
</div>
<!-- Score Board -->
<section id="scoreBoard">
<div>
<input type="text" class="userName" id="userName" placeholder="Enter Name
">
</div>
<div>
<button id="submit" class="submitBtn">SUBMIT</button>
</div>
<div id="score"></div>
</section>
<!-- Pop up buttons -->
<div id="buttonArea" class="extraButtons"> </div>
<section id="gameText" class="results">
<!-- Personal High Score -->
<div id="personalHighScore"></div>
<!-- Leaderboard -->
<div id="leaderboard">
<h6>High Scores</h6>
<div id="leaderboard1name"></div> - <div id="leaderboard1score"></div>
<div id="leaderboard2name"></div> - <div id="leaderboard2score"></div>
<div id="leaderboard3name"></div> - <div id="leaderboard3score"></div>
</div>
<!-- Reset Button -->
<div>
<button id="reset" class="success button">RESET</button>
</div>
</section>
<!-- The Final Countdown. for demonstration purposes only. -->
<audio id="audio" src="countdown.ogg"></audio>
<script src="script.js"></script>
</body>
</html>