0

The current problem is that for my programming course I was asked to make a functioning quiz using just html CSS and java script. The quiz itself is simple and uses arrays, ids, and classes mostly. The problem occurred when we tried to make the questions required.

We moved the submit button into the form, later into the actual form line and not just the form itself, changed the function name and set the radio buttons to required. The quiz itself works, but changes the background colors to correspond to whether it is correct or incorrect. After the modifications now you must answer all questions, and the background colors work, but the page reloads after submit removing all changes. Also it displays the actual score after you click submit so it can't reload for that either.

Sivart
  • 1
  • 1

0 Answers0