Hello sir,
I would like to inform you that i already have what you need setup perviously
I have made a simple Javascript + HTML application that does all what you need
There are many methods i made for the vocab quiz, but they all use the same file and work flawlessly
The questions also get randomized on every Trial, meaning that every time you attempt to retake the quiz, none of the questions will appear in the previous order
If you like my idea, let me know, and i will finish it with good care
Best of regards