forked from HackYourFuture/JavaScript2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (65 loc) · 2.04 KB
/
index.html
File metadata and controls
68 lines (65 loc) · 2.04 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
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pomodoro Clock</title>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.12.1/css/all.css"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="style.css" />
<link
href="https://fonts.googleapis.com/css2?family=Orbitron:wght@669&display=swap"
rel="stylesheet"
/>
</head>
<body>
<head>
<h1 class="title">Pomodoro Clock</h1>
</head>
<main>
<div class="timer-wrapper">
<div>
<h2>Session Length</h2>
<div class="set-timer">
<button id="down"><i class="fas fa-arrow-down fa-2x"></i></button>
<p id="session-length">25</p>
<button id="up"><i class="fas fa-arrow-up fa-2x"></i></button>
</div>
</div>
<div id="app" class="timer-display">
<div class="clock">
<div class="inside-title">
<h2>Session</h2>
</div>
<div>
<p id="time-up-message" class="hide">Time's Up!</p>
</div>
<div class="m-display">
<span id="m-zero" class="show">0</span>
<p id="minutes" class="time-value">25</p>
</div>
<span id="colon" class="show">:</span>
<div class="s-display">
<span id="s-zero" class="show">0</span>
<p id="seconds" class="time-value">0</p>
</div>
</div>
<div class="buttons">
<button id="play"><i class="fas fa-play fa-2x"></i></button>
<button id="pause"><i class="fas fa-pause fa-2x"></i></button>
<button id="stop"><i class="fas fa-stop fa-2x"></i></button>
</div>
</div>
</div>
</main>
<footer>
<div class="messages">
<p id="notification">Start your session!</p>
</div>
</footer>
<script src="index.js"></script>
</body>
</html>