From 4fba4600dc2141b5a22513dd8962840979833323 Mon Sep 17 00:00:00 2001 From: Elena.Budnik <ebudnik@irap.omp.eu> Date: Mon, 8 Jun 2020 12:41:32 +0200 Subject: [PATCH] HomePage draft --- index.html | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/index.html b/index.html index 7f3c8eb..46ac9dc 100644 --- a/index.html +++ b/index.html @@ -55,6 +55,7 @@ function checkGuest() { var random = Math.floor(Math.random()*10); + if ( random == 0 ) random = 1; var answer = Math.floor(random * 2); var input = prompt("Please enter " + random + " * 2 = ?", ""); -- libgit2 0.21.2