4 ms·
You should override the default behavior of Backspace, because if someone is not in the input field, Backspace will abort the quiz and take them back to the pre
by BasDirks 15y ago
You should override the default behavior of Backspace, because if someone is not in the input field, Backspace will abort the quiz and take them back to the previous page (in most browsers).
Maybe the multiple choice option should only become available after a certain amount of time?
I would decrease the time a user has to fill in an answer. Where there is competition there is generally cheating (who would do that right? I know), and you want to prevent GoogleIntellectuals from doing just that.
- peterbe 15y agoI really don't know how to solve the Backspace. Probably, the only way to catch that is to have some sort of onexit event handler. I love the idea of having the alternatives appear automatically. when there's only like 3 seconds left. The time, 15 seconds, is maybe too long when there's really hard questions. I want people to upload easy questions that forces you to think instead of googling.
- peterbe 15y agoI'm sort of solved the Backspace problem. I made it so a confirmation box appears if you try to exit the page (unless you click a link) The time is now 10 seconds instead of 15.