How to use JavaScript to mark a multiple choice question (type= radio button and checkbox)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to use JavaScript to mark a multiple choice question (type= radio button and checkbox)?

I wrote a function called checkquest( ) and another function to calculate the mark I dont know how to exclude the wrong options from counting onto the point.

28th Apr 2018, 11:22 PM
Kris V
6 Answers
29th Apr 2018, 12:52 AM
John Wells
John Wells - avatar
+ 3
Roel congrats fot da challange
29th Apr 2018, 9:03 AM
Mirul Makenkov II
Mirul Makenkov II - avatar
+ 3
Roel just now challange..
29th Apr 2018, 9:21 AM
Mirul Makenkov II
Mirul Makenkov II - avatar
0
sorry for the requestion, but its because english is not my native language if i understood right you want to make one of these two things 1. something that checks a checkbox or radio 2. something that checks if a checkbox or radio is checked please reply the number of it or please explain your question understandable for a totally sucking-at-english person
28th Apr 2018, 11:39 PM
Roel
Roel - avatar
0
I got a quiz and I want to make a js that cam mark the quiz and calculate the total mark.
29th Apr 2018, 2:34 AM
Kris V
0
Mirul Makenkov II which challenge?
29th Apr 2018, 9:12 AM
Roel
Roel - avatar