-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
88 lines (83 loc) · 3.7 KB
/
index.html
File metadata and controls
88 lines (83 loc) · 3.7 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
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ClickCounter</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- Settings Button -->
<button id="settingsButton" aria-label="Settings">
<svg width="28" height="28" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="3"/>
<path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09a1.65 1.65 0 0 0-1-1.51 1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09a1.65 1.65 0 0 0 1.51-1 1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33h.09A1.65 1.65 0 0 0 9 3.09V3a2 2 0 1 1 4 0v.09c0 .66.39 1.26 1 1.51h.09a1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82v.09c.22.63.85 1.09 1.51 1.09H21a2 2 0 1 1 0 4h-.09c-.66 0-1.26.39-1.51 1z"/>
</svg>
</button>
<!-- Settings Modal -->
<div id="settingsModal" class="modal">
<div class="modal-content">
<h2>Settings</h2>
<form id="settingsForm">
<!-- Dark Mode Toggle (Uiverse.io by witer33) -->
<input id="uiverseSwitch" type="checkbox" />
<div class="app">
<div class="body">
<div class="phone">
<div class="menu">
<div class="time">4:20</div>
<div class="icons">
<div class="network"></div>
<div class="battery"></div>
</div>
</div>
<div class="content">
<div class="circle">
<div class="crescent"></div>
</div>
<label for="uiverseSwitch">
<div class="toggle"></div>
<div class="names">
<p class="light">Light</p>
<p class="dark">Dark</p>
</div>
</label>
</div>
</div>
</div>
</div>
<!-- Click Sound Setting -->
<label for="clickSound">Click Sound:</label>
<select id="clickSound" name="clickSound">
<option value="default">Default</option>
<option value="none">None</option>
<option value="sound1">Sound 1</option>
<option value="sound2">Sound 2</option>
</select>
<!-- Counter Format Setting -->
<label for="counterFormat">Counter Format:</label>
<select id="counterFormat" name="counterFormat">
<option value="default">Default</option>
<option value="twoDigits">Two Digits</option>
</select>
<button type="submit">Save Settings</button>
</form>
<p id="settingsMessage"></p>
<button id="closeModal" type="button">×</button>
</div>
</div>
<!-- Main Clicker UI -->
<div class="clicker">
<h1 id="counter">00</h1>
<button id="clickButton">Click!</button>
<button id="resetButton" aria-label="Reset">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<polyline points="1 4 1 10 7 10"></polyline>
<path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"></path>
</svg>
</button>
</div>
<script src="./script.js"></script>
</body>
</html>