-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (43 loc) · 2.16 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
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pomodoro Timer</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Merienda:[email protected]&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="settings-icon" id="settings-icon">⚙️</div>
<div class="settings-menu" id="settings-menu">
<label for="pomodoro-duration">Pomodoro Duration (minutes):</label>
<input type="number" id="pomodoro-duration" value="25" min="1" max="60">
<label for="break-duration">Break Duration (minutes):</label>
<input type="number" id="break-duration" value="5" min="1" max="60">
<label for="background-url">Background URL:</label>
<input type="text" id="background-url" placeholder="Enter image URL">
<label for="button-color">Button Color:</label>
<input type="color" id="button-color" value="#4CAF50">
<button id="apply-settings">Apply Settings</button>
</div>
<div class="container">
<div class="timer-container">
<div class="status" id="status">Pomodoro</div>
<div class="timer">
<span id="time">25:00</span>
</div>
<div class="controls">
<button id="start-pause">Start</button>
<button id="reset">Reset</button>
</div>
</div>
<div class="spotify-player">
<iframe style="border-radius:12px" src="https://open.spotify.com/embed/playlist/37i9dQZF1DX8Uebhn9wzrS?utm_source=generator&theme=0" width="100%" height="130" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
</div>
</div>
<audio id="timer-end-sound" src="notif.mp3" preload="auto"></audio>
<script src="script.js"></script>
</body>
</html>