-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (48 loc) · 2.01 KB
/
Copy pathindex.html
File metadata and controls
55 lines (48 loc) · 2.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Break & Lunch Timer</title>
<link rel="stylesheet" href="stylesheet.css" type="text/css">
</head>
<body>
<div class="container">
<h1>🕐 Break & Lunch Timer</h1>
<div class="settings">
<div class="setting-group">
<label for="breakTime">Break Duration (minutes):</label>
<input type="number" id="breakTime" value="15" min="1" max="60">
</div>
<div class="setting-group">
<label for="lunchTime">Lunch Duration (minutes):</label>
<input type="number" id="lunchTime" value="30" min="1" max="120">
</div>
<div class="setting-group">
<label for="bufferTime">Buffer Warning (minutes):</label>
<input type="number" id="bufferTime" value="5" min="1" max="30">
</div>
</div>
<div class="timer-section">
<div class="time-info hidden" id="timeInfo">
<div>
<div class="label">Started At</div>
<div class="time-value" id="startTime">--:--</div>
</div>
<div>
<div class="label">Return By</div>
<div class="time-value" id="endTime">--:--</div>
</div>
</div>
<div class="timer-display" id="timerDisplay">--:--</div>
<div class="buttons">
<button class="btn-break" id="breakBtn">Start Break</button>
<button class="btn-lunch" id="lunchBtn">Start Lunch</button>
<button class="btn-stop" id="stopBtn" disabled>Stop Timer</button>
</div>
</div>
<div class="status" id="status">Set your break and lunch durations above, then click to start a timer</div>
</div>
<script src="script.js"></script>
</body>
</html>