bkf2020 website mirrored here.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.9 KiB

<!DOCTYPE html>
<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>Be kind for 2020 (bkf2020)'s Timer</title>
<link rel="stylesheet" href="style.css">
<script type="text/javascript" src="timer.js"></script>
<h1>Be kind for 2020 (bkf2020)'s Timer</h1>
A simple timer. It needs Javascript
to work.
<a href="/">home</a>
<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">
<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="startTimer()">Start timer</button>
<button id="reset" onclick="resetTimer()">Reset</button>
<p id="timeLeft" style="font-size: 100px;">
<a href="https://freesound.org/people/unfa/sounds/156548/">
Alarm Clock Sound effect (CC0 License)
<li>Available in <code>audio/alarm.mp3</code> in the website repo.</li>
<a href="/">home</a>
all code/content on this website is under CC0
unless otherwise stated.
other projects I have may have different licenses