Skip to content

Commit

Permalink
#7 ISSUE RESOLVED
Browse files Browse the repository at this point in the history
  • Loading branch information
JayantDwivedi committed May 26, 2020
1 parent 91c5022 commit bc235d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 12. Create a Spinning Loader/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bc235d4

Please sign in to comment.