function validate() {
    if (!options[0].classList.contains("disabled")) {
        modalResponderQuiz.classList.add("show")
    } else {
        randomQuestion();
        enableClick();
    }
}
//Make sure the user selected an item before clicking on the Next button
Make sure the user selected an item before clicking on the Next button
Make sure the user selected an item before clicking on the Next button
function validate() {
    if (!options[0].classList.contains("disabled")) {
        modalResponderQuiz.classList.add("show")
    } else {
        randomQuestion();
        enableClick();
    }
}
function validate ( ) { if ( ! options [ 0 ] . classList . contains ( "disabled" ) ) { modalResponderQuiz . classList . add ( "show" ) } else { randomQuestion ( ) ; enableClick ( ) ; } }
Make sure the user selected an item before clicking on the Next button
Make sure the user selected an item before clicking on the Next button