I am doing a quiz application and I would like to know what’s the way to go about creating a timer for the quiz?
Currently I am going to display all the quiz questions on one page and have a main timer like 30minutes counting down and also to record the time taken when the user clicks submit.
In the future I might add in multipage quiz and also time taken for individual questions.
Any advice on what tools to use and structure would be greatly appreciated! Thank you.
Couldn’t find a nice simple example, so I just wrote my own (tested in FF only):
You’ll want to tweak it, probably: If you don’t want to show the elapsed time, you can use a hidden field; if you do, you’ll want to format it a bit better. But it’s something to work with.
Hope that helps!