In class we made a quiz with two questions. The user selected answers by clicking on the radio button next to their choice. When a button was clicked the score was the number of correct answers.
Make your own quiz with four questions. Each question can have as many choices as you like, but there should be only one correct answer for each question.
When a button is clicked calculate how many answers were correct. If the number of correct answers is 0 or 1 then output "Your performance is terrible." If the number of correct answers is 2 or 3 then output "Your score is OK." If the number of correct answers is 4 then output "Your score is perfect!"