diff --git a/index.html b/index.html index f5ee1bd..5f0cbde 100644 --- a/index.html +++ b/index.html @@ -25,6 +25,11 @@
+
Time
+ +
+
+
diff --git a/script.js b/script.js index c8df335..7aa39f3 100644 --- a/script.js +++ b/script.js @@ -57,7 +57,7 @@ function timer(){ txt.innerHTML= afficher; time = time <= 0 ? 0 : time -1; - if (time == ) + if (time == 0) { clearInterval(maVar); }