From fa0a0fc1aa579303c4a333f68de150a99a8bb08b Mon Sep 17 00:00:00 2001 From: Tchi <86352901+LucasVbr@users.noreply.github.com> Date: Sun, 4 Jul 2021 13:56:47 +0200 Subject: [PATCH] Edit README.md --- README.md | 18 +++++++++++++++++- js/timer.js | 2 ++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index befb23f..87e893a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,18 @@ # JavaScript Timer -Objective : Make a timer in JavaScript \ No newline at end of file + +Objective : Make a timer in JavaScript + +[Link to demo](https://lucasvbr.github.io/javascript-timer/?time=300) + +## Installation + +- **Download** the repository and **execute** the `index.htm` file in your navigator + +- To set time, you need to edit the url and add `?time=` + Example : + + ```url + https://lucasvbr.github.io/javascript-timer/index.htm?time=500 + ``` + + diff --git a/js/timer.js b/js/timer.js index 387d10b..605c49a 100644 --- a/js/timer.js +++ b/js/timer.js @@ -1,3 +1,5 @@ +// NOT USED CURRENTLY + class Timer { /**