have done most of it, i need to add a timer to the quiz and auto submit the form after the timer is done and have no clue on implementation, can anyone help?
You can try setTimeout() to call function to submit the quiz after certain time. If you want better precision, you can try websocket (eg socket.io) to emit timeout event from server
Обсуждают сегодня