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