+ onOptionChange(e, qIndex, oIndex)} />
+
+
+
+ // check if checkbox is checked or not
+ // if checked then add the answer to the answers array
+ // if unchecked then remove the answer from the answers array
+ e.target.checked ? markOptionAsCorrect(question.question_id, option.option_id) : null
+ }
+ />
+