Hi
I've got 90% of this, but can't quite knit it together - can someone please help?
It's a web page quiz, but questions are displayed one at a time, either forward-slash or back-slash keypresses are used as answers and then the next question is displayed. At the end of the ~160 questions, totals for the two answers are returned in a form.
The idea is the user types in their name, then clicks on a start button and the quiz begins. When over the form submits the results.
I've got the questions in an array, and can display them in a popup, but I can't work out how to handle the keypress events.
A few lines of code (and where to put them) would be most gratefully received!
TIA
Tony.
I've got 90% of this, but can't quite knit it together - can someone please help?
It's a web page quiz, but questions are displayed one at a time, either forward-slash or back-slash keypresses are used as answers and then the next question is displayed. At the end of the ~160 questions, totals for the two answers are returned in a form.
The idea is the user types in their name, then clicks on a start button and the quiz begins. When over the form submits the results.
I've got the questions in an array, and can display them in a popup, but I can't work out how to handle the keypress events.
A few lines of code (and where to put them) would be most gratefully received!
TIA
Tony.
Comment