Open isbrakha opened 11 months ago
I like how you used Math.floor(Math.random()) along with a while loop to randomly generate the index of the answer order. I did have some difficulty understanding lines 28-39 in your code in the Gameplay.jsx file (the shuffleArray function) but I think I get the general gist of what it does. Perhaps adding some comments to give a high-level explanation of what is happening would be good. I also liked the overall look of the app! The theming was nice to look at and the colors did not clash so it was easy to read everything. The implementation of Auth0 was a really nice addition as well!
I'm very happy with the simplistic style, had some trouble getting the correct answers and incorrect answers to no always render in the same order, so the correct answer wouldn't always be in the same place, found a good solution
This is how i return the answers:s: