Commit 4fba4600dc2141b5a22513dd8962840979833323

Authored by Elena.Budnik
1 parent 32710720

HomePage draft

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
index.html
... ... @@ -55,6 +55,7 @@
55 55  
56 56 function checkGuest() {
57 57 var random = Math.floor(Math.random()*10);
  58 + if ( random == 0 ) random = 1;
58 59 var answer = Math.floor(random * 2);
59 60 var input = prompt("Please enter " + random + " * 2 = ?", "");
60 61  
... ...