-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (74 loc) · 2.78 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Safia's Pomodoro Timer</title>
</head>
<body>
<h1>Safia's Pomodero Timer</h1>
<!-- Main Container-->
<div id="container"class="active" >
<p id="interval" class="label">Interval</p>
<p id="short-break" class="label">Short Break</p>
<p id="round" class="label">Round</p>
<p id="long-break" class="label">Long Break</p>
<!-- Interval Timer-->
<div id="interval-timer" class="timer">
<p id="interval-mins">00</p>
<p class="semicolon">:</p>
<p id="interval-secs">00</p>
</div>
<audio
src="http://soundbible.com/mp3/service-bell_daniel_simion.mp3"
></audio>
<!--Cycle Counter-->
<div id="round-counter" class="timer">
<p id="count">0</p>
<p class="forward-slash">/</p>
<p id="max-count">4</p>
</div>
<!-- Short Break Timer-->
<div id="short-break-timer" class="timer">
<p id="short-break-mins">00</p>
<p class="semicolon">:</p>
<p id="short-break-secs">00</p>
</div>
<!-- Long Break Timer-->
<div id="long-break-timer" class="timer">
<p id="long-break-mins">00</p>
<p class="semicolon">:</p>
<p id="long-break-secs">00</p>
</div>
<!-- Buttons-->
<button id="start" class="btn"><img src="icons8-tomato-50.png"></button>
<button id="pause" class="btn"><img src="icons8-pause-50.png"></button>
<button id="reset" class="btn"><img src="icons8-reset-50.png"></button>
</div>
<!-- Form-->
<form action="." name="customForm" id="custom">
<div class="input">
<label for="interval-input">Set interval time</label>
<input type="number" min="0" max="60" value="25" id="interval-input"/>
</div>
<div class="input">
<label for="short-break-input">Set short break time</label>
<input type="number" min="0" max="60"value="5" id="short-break-input"/>
</div>
<div class="input">
<label for="long-break-input">Set long break time</label>
<input type="number" min="0" max="60" value="30" id="long-break-input"/>
</div>
<button type="submit">Save</button>
</form>
<footer>
<div class="copyright">
<p> Coded by <a href="https://github.com/fi-ya" target="_blank">fi-ya</a>
</p>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>