-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (44 loc) · 1.74 KB
/
index.html
File metadata and controls
45 lines (44 loc) · 1.74 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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8" />
<title>Visual Timer</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewbox=%220 0 100 100%22><text y=%22.9em%22 font-size=%221.5rem%22>🕒</text></svg>">
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Visual Timer</h1>
<div id="fs">
<canvas id="timer"></canvas>
<div id="timeText">0:00</div>
<button type="button" id="exitFS" title="Exit Fullscreen">X</button>
</div>
<form action="#" name="timerForm">
<input type="number" name="minutes" placeholder="min" min="0" />
:
<input type="number" name="seconds" placeholder="sec" min="0" max="59" />
<span class="colors">
<label for="foreground">Foreground:</label>
<input type="color" name="foreground" id="foreground-color" value="#0000FF" />
<label for="background">Background:</label>
<input type="color" name="background" id="background-color" value="#DDDDDD" />
</span>
<div class="buttons">
<button type="submit" id="startTimer">Start</button>
<button type="button" id="clear">Clear</button>
<button type="button" id="fullscreen">Fullscreen</button>
</div>
</form>
<div id="debug">
DEBUGGING
<input type="color" id="color1">
<input type="color" id="color2">
</div>
<footer>
<p>Copyright © 2023 Bailey Furrow</p>
<p>View the source code on <a href="https://github.com/BaileyFurrow/VisualTimer"><i class="ico-gh"></i> GitHub</a>.</p>
</footer>
<script src="VisualTimer.js"></script>
</body>
</html>