This repository was archived by the owner on Apr 20, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (55 loc) · 1.64 KB
/
index.html
File metadata and controls
55 lines (55 loc) · 1.64 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" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Freshman Pomodoro Clock Demo</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<main class="app">
<progress id="js-progress" value="0"></progress>
<div class="progress-bar"></div>
<div class="timer">
<div class="button-group mode-buttons" id="js-mode-buttons">
<button
data-mode="pomodoro"
class="button active mode-button"
id="js-pomodoro"
>
Pomodoro
</button>
<button
data-mode="shortBreak"
class="button mode-button"
id="js-short-break"
>
Short break
</button>
<button
data-mode="longBreak"
class="button mode-button"
id="js-long-break"
>
Long break
</button>
</div>
<div class="clock" id="js-clock">
<span id="js-minutes">25</span>
<span class="separator">:</span>
<span id="js-seconds">00</span>
</div>
<button class="main-button" data-action="start" id="js-btn">
Start
</button>
</div>
</main>
<div class="hidden">
<audio src="backtowork.mp3" data-sound="pomodoro"></audio>
<audio src="break.mp3" data-sound="shortBreak"></audio>
<audio src="break.mp3" data-sound="longBreak"></audio>
</div>
<script src="main.js"></script>
</body>
</html>