From bc235d4170c69935a76372333a3a7065e5ddb78a Mon Sep 17 00:00:00 2001 From: jayantdwivedi Date: Tue, 26 May 2020 13:48:17 +0530 Subject: [PATCH] #7 ISSUE RESOLVED --- 12. Create a Spinning Loader/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12. Create a Spinning Loader/game.js b/12. Create a Spinning Loader/game.js index e89029a..05bd8c6 100644 --- a/12. Create a Spinning Loader/game.js +++ b/12. Create a Spinning Loader/game.js @@ -27,7 +27,7 @@ fetch( }; const answerChoices = [...loadedQuestion.incorrect_answers]; - formattedQuestion.answer = Math.floor(Math.random() * 3) + 1; + formattedQuestion.answer = Math.floor(Math.random() * 4) + 1; answerChoices.splice( formattedQuestion.answer - 1, 0,