I am currently working on a function to vote randomly.
There are three functions I want to create.
One is to show a question and a random person and when the user selects it, it moves to the next question.
Second, when the user moves to the next question, both the question and the person are randomly displayed.
The third is a shuffle feature that again displays a random person if no person matches the question.
In the current version, a database of questions can be created and displayed in random order.
However, it is still difficult to create a way to display random persons.
Also, we have not yet created a function to shuffle the persons.
Please let me know how to make it if you don’t mind.
Thank you in advance!