adding 'Skip' in score page

This commit is contained in:
Saugat Pandey
2023-03-16 18:22:52 -05:00
parent 3a4755ba8b
commit b413f77329

View File

@@ -145,6 +145,9 @@ class VisQuiz extends Component {
if (response === minivis[this.state.current_mini_index]['options'][truth]) { if (response === minivis[this.state.current_mini_index]['options'][truth]) {
record_ques[type] = 'Correct' record_ques[type] = 'Correct'
} }
else if (response === 'Skip') {
record_ques[type] = 'Skip'
}
else { else {
record_ques[type] = 'Wrong' record_ques[type] = 'Wrong'
} }