Code for a Browser based Timer.
Features:
Timer can count up or down.
Acoustic and optical signal.
Acoustic signal can be muted.
Timer can be set to repeat mode (e.g. for gym exercises), autostop or non-stop (continuing to show the time after chiming).
Background turns red if time limit is exceeded.
Download or clone the repository at https//:github.com/ormf/timer and open Timer.html in a browser. Before cloning you can check it out at this URL:
https://selma.hfmdk-frankfurt.de/finnendahl/timerThe function of the five buttons below the time display (multiple buttons in one row show the different states when clicking the buttons):
Play/Stop
Reset
Up/Down
Repeat Mode/Autostop Mode/Non-Stop Mode
Mute/Unmute
Load this README
The Popup Menus below the "Set Timer" set the Time for Hours, Minutes and Seconds.
Written by Ugo Finnendahl and Orm Finnendahl. Licensed under the GPL v2.0 or later.