I created this little quiz app from jQuery and Ajax:
Everything is working as it should. However I am unable to figure out how to display next question to user while the timer is running?
I tried adding this line with +1 for the random number in the if statement at line 14.
that gives me a new question but again the answer goes wrong since answer is looked for in the same index as randomNumber but new question is randomNumber + 1
I’d really appreciate any help with this.