-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (39 loc) · 1.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Enhanced Pomodoro Timer</title>
<link rel="stylesheet" href="style.css">
<link rel="apple-touch-icon" sizes="180x180" href="icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png">
<link rel="manifest" href="icons/site.webmanifest">
<!-- cloudflare Code -->
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" integrity="sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg==" crossorigin="anonymous"></script>
</head>
<body>
<audio id="alarm-sound" src="mixkit-alarm-tone-996.wav" preload="auto"></audio>
<div id="instructions">
<p>Set work and break durations. Use the controls to manage your sessions. Time tracked is displayed below.</p>
</div>
<div id="pomodoro-timer">
<div id="session-tabs">
<button id="work-tab">Work</button>
<button id="break-tab">Break</button>
</div>
<div id="timer-display">25:00</div>
<div id="controls">
<button id="start-pause-btn">►</button> <!-- Play symbol; will change dynamically -->
<button id="reset-btn">Reset</button>
</div>
<input type="number" id="work-duration" placeholder="Edit Work Minutes" min="1">
<input type="number" id="break-duration" placeholder="Edit Break Minutes" min="1" style="display:none;">
</div>
<div id="time-tracker">
<p id="work-time-tracked">Total Work: 0 hours and 0 minutes</p>
<p id="break-time-tracked">Total Break: 0 hours and 0 minutes</p>
</div>
<script src="script.js"></script>
</body>
</html>