From 678a1f6b2b6a620f31ee93ad8d28626f849637c4 Mon Sep 17 00:00:00 2001 From: Axel O Date: Mon, 5 Dec 2022 17:30:03 +0100 Subject: [PATCH] ajout d'un timer et d'un bouton pause pour troll --- index.html | 2 ++ script.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index c11f909..51be816 100644 --- a/index.html +++ b/index.html @@ -19,6 +19,8 @@ your experience.

+
Time
+ diff --git a/script.js b/script.js index 57e5eaa..f97923b 100644 --- a/script.js +++ b/script.js @@ -55,7 +55,7 @@ function timer(){ txt.innerHTML= afficher; time = time <= 0 ? 0 : time -1; - if (time == -1) + if (time == ) { clearInterval(maVar); }