Hi there.
I’m trying to do my own research but not finding much.
For the CodeHistory app, how could we modify if we wanted to not only shuffle the questions each time, but also the order in which the answers are displayed? I tried using the .shuffled
method to shuffle the possible answers, but it messes with the correctAnswerIndex functionality. Changing the app to use the actual answer text makes it so the questionView populates incorrectly (shows multiples of some buttons, and misses some altogether). Anyone have any advice on how to do this?