-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtimer.html
More file actions
117 lines (108 loc) · 3.16 KB
/
timer.html
File metadata and controls
117 lines (108 loc) · 3.16 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Timer - desclock</title>
<link rel="icon" type="image/x-icon" href="/style/favicon.png" />
<script
src="https://kit.fontawesome.com/e2a9b61ec9.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" type="text/css" href="/style/navbar.css" />
<link rel="stylesheet" type="text/css" href="/style/timer.css" />
<link rel="stylesheet" type="text/css" href="/style/index.css" />
</head>
<body>
<div class="content">
<!-- TIME -->
<div class="outer-circle">
<p class="time hidden">
<span class="mins">00</span>:<span class="blue-text">00:00</span>
</p>
<form id="timer-form" class="">
<input
type="number"
name="hours"
id="hours"
min="0"
max="99"
step="1"
placeholder="00"
/><span>:</span
><input
type="number"
name="minutes"
id="minutes"
min="0"
max="59"
step="1"
placeholder="00"
/><span>:</span
><input
type="number"
name="seconds"
id="seconds"
min="0"
max="59"
step="1"
placeholder="00"
/>
</form>
</div>
<span class="error-message" id="error"></span>
<div class="modal" id="timerUpModal">
<div class="modal-content">
<p id="modal-title">
<i class="fa-solid fa-hourglass-end fa-shake hrgls"></i> Timer
</p>
<p class="modal-text">
Time's up! <span class="alert-hrs">00</span>:<span
class="alert-time"
>00:00</span
>
time passed
</p>
<button id="restartTimer">
<i class="fa-solid fa-arrow-rotate-left"></i> Restart
</button>
<button id="closeModal">
<i class="fa-solid fa-xmark"></i> Close
</button>
</div>
</div>
</div>
<!-- BUTTONS -->
<div class="button-container">
<button class="restart-button hidden">
<i id="restart-icon" class="fa-solid fa-xmark"></i>
</button>
<button class="play-button">
<i id="play-icon" class="fa-solid fa-play"></i>
</button>
<button class="lap-button hidden">
<i id="audio-icon" class="fa-solid fa-volume-high"></i>
</button>
</div>
<!-- FOOTER NAVBAR -->
<div class="navbar">
<a href="/index.html" class="stopwatch">
<i class="fa-solid fa-stopwatch"></i>
<p>Stopwatch</p>
</a>
<a href="/timer.html" class="timer active">
<i class="fa-solid fa-hourglass-start"></i>
<p>Timer</p>
</a>
<a class="alarm">
<i class="fa-solid fa-bell"></i>
<p>Alarm</p>
</a>
<a class="world-clock">
<i class="fa-solid fa-globe"></i>
<p>World clock</p>
</a>
</div>
<script src="/timer.js"></script>
</body>
</html>