Files
timer/README.md
T
2021-09-19 19:25:10 +02:00

19 lines
615 B
Markdown

# JavaScript Timer
Objective : Make a timer in JavaScript
## Installation
- Go to the [Link to demo](https://lucasvbr.github.io/javascript-timer/?minutes=5)
- To set time, you need to add parameters in the URL :
URL syntax : `<URL>?[param1]&[param2]&[...]`
Parameter syntax : `<type>=<value>`
- Differents `type` : `seconds`, `minutes` and `hours`
If there is not parameters : **5 minutes** are in the timer by default
(There isn't order for parameters)
Example :
```url
https://lucasvbr.github.io/javascript-timer/index.htm?hours=10&minutes=10&seconds=10
```