-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (44 loc) · 1.79 KB
/
index.html
File metadata and controls
56 lines (44 loc) · 1.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cycle Timer Music</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>Cycle Timer Music</h1>
<!-- Timer Display -->
<div id="timer">25:00</div>
<button id="start">Start</button>
<button id="reset">Reset</button>
<!-- Custom Timer Durations -->
<h2>Custom Timer Durations</h2>
<label for="work-duration">Work Duration (minutes):</label>
<input type="number" id="work-duration" placeholder="25">
<label for="break-duration">Break Duration (minutes):</label>
<input type="number" id="break-duration" placeholder="5">
<!-- Background Music Control -->
<h2>Background Music</h2>
<label for="work-music-url">Work Session Music URL:</label>
<input type="text" id="work-music-url" placeholder="Enter YouTube Music URL">
<button id="load-work-music">Load Work Music</button>
<label for="break-music-url">Break Session Music URL:</label>
<input type="text" id="break-music-url" placeholder="Enter YouTube Music URL">
<button id="load-break-music">Load Break Music</button>
<label>
<input type="checkbox" id="same-video"> Use the Same Video for Both Sessions
</label>
<!-- Music Player -->
<h2>Music Player</h2>
<div id="music-player"></div>
</div>
<!-- Notification Sounds -->
<audio id="break_will_start" src="break_will_start.m4a"></audio>
<audio id="break_has_started" src="break_has_started.m4a"></audio>
<audio id="work_will_start" src="work_will_start.m4a"></audio>
<audio id="work_has_started" src="work_has_started.m4a"></audio>
<script src="script.js"></script>
</body>
</html>