Hi, Im looking for some guidance regarding creating an simple online quiz.
Basically there should be lets say 5 questions with 4 answer alternatives for each question (user can only select 1 for each question).
All the questions and answers should be displayed on one page.
The different answers on every questions corresponds to a different score (1-3) . And when the user clicks a submit button at
the end of the page the webpage checks for the total score (the sum of all the answers). And if the score is lets say over
10 points there is a message saying "You need this health course" if score is
under 10 points "You must take this health course".
What I know is that I should use radiobuttons as answer alternatives,
but I have no idea how to collect the score from the different answers, and then how to add the scores together.
In the end I know I should use an if statement to show the correct ...
Go to the complete details ...