-
Notifications
You must be signed in to change notification settings - Fork 0
/
mwe.html
72 lines (72 loc) · 2.13 KB
/
mwe.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MWE: Make work easier by Be kind for 2020 (bkf2020)</title>
<link rel="stylesheet" href="style.css">
<script type="text/javascript" src="mwe.js"></script>
</head>
<body>
<header>
<h1>MWE: Make work easier by Be kind for 2020 (bkf2020)</h1>
<p>
Make work easier with this tool. Pick a task,
set a timer, and start working! If you don't finish the task,
you'll have to do a punishment.
</p>
<p>
<a href="/">home</a>
</p>
</header>
<article>
<b><p>Note you can have at most 99 hours, 99 minutes and 99 seconds.</p></b>
<audio id="timesUp">
<source src="audio/alarm.mp3" type="audio/mpeg">
</audio>
<center>
<label for="tname">Task name:</label>
<input type="text" id="tname" name="tname"><br/><br/>
<label for="hour">Hours: </label>
<input type="number" id="hour" name="hour" min="0" max="99" value="0" style="width: 50px;">
<label for="minute">Minutes: </label>
<input type="number" id="minute" name="minute" min="0" max="99" value="0" style="width: 50px;">
<label for="second" min="0" max="99">Seconds: </label>
<input type="number" id="second" name="second" min="0" max="99" value="0" style="width: 50px;"><br/>
<button id="startpause" onclick="startWorking()">Start working</button>
<p id="taskName" style="font-size: 30px; margin-bottom: 0px;">
Your task:
</p>
<p id="timeLeft" style="font-size: 100px; margin-top: 0px;">
00:00:00
</p>
</center>
<br/><br/>
<h2>Credits</h2>
<ul>
<li>
<a href="https://freesound.org/people/unfa/sounds/156548/">
Alarm Clock Sound effect (CC0 License)
</a>
<ul>
<li>Available in <code>audio/alarm.mp3</code> in the website repo.</li>
</ul>
</li>
</ul>
</article>
<footer>
<p>
<a href="/">home</a>
</p>
<p>
all code/content on this website is under CC0
unless otherwise stated.
</p>
<p>
other projects I have may have different licenses
</p>
</footer>
</body>
</html>