-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (51 loc) · 2.11 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
48
49
50
51
<!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=Roboto+Mono:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>Pomodoro Timer</h1>
<div class="focus-banner">
Need a focus boost? <a href="https://www.youtube.com/watch?v=J1c2KzJbcGA" target="_blank">Click here</a> 🕺
</div>
<div class="timer-container">
<div class="circular-progress">
<svg class="progress-ring" width="400" height="400">
<defs>
<linearGradient id="gradient" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" style="stop-color: #000080;"/>
<stop offset="50%" style="stop-color: #FFA500;"/>
<stop offset="100%" style="stop-color: #000080;"/>
</linearGradient>
</defs>
<circle class="progress-ring__circle-bg" cx="200" cy="200" r="190" />
<circle class="progress-ring__circle" cx="200" cy="200" r="190" />
</svg>
<div class="timer">
<span id="minutes">25</span>:<span id="seconds">00</span>
</div>
</div>
</div>
<div class="controls">
<button id="start">Start</button>
<button id="chill"><span>Chill (5:00)</span></button>
<button id="reset">Reset</button>
</div>
<div class="mode">
<span id="mode-text">Work Time</span>
</div>
<div class="quote-box">
<p id="quote"></p>
<p id="attribution" class="quote-attribution"></p>
</div>
</div>
<script src="script.js"></script>
</body>
</html>