function quizOver() {
    document.querySelector(".quiz-overQuiz").classList.add("showQuiz")
    correctAnswersSpan.innerHTML = score;
    totalQuestionsSpan2.innerHTML = questions.length
    percentageSpan.innerHTML = Math.round((score / questions.length) * 100) + "%"
}
//Displays the quiz-over page if quiz is over
Displays the quiz-over page if quiz is over
Displays the quiz - over page if quiz is over
function quizOver() {
    document.querySelector(".quiz-overQuiz").classList.add("showQuiz")
    correctAnswersSpan.innerHTML = score;
    totalQuestionsSpan2.innerHTML = questions.length
    percentageSpan.innerHTML = Math.round((score / questions.length) * 100) + "%"
}
function quizOver ( ) { document . querySelector ( ".quiz-overQuiz" ) . classList . add ( "showQuiz" ) correctAnswersSpan . innerHTML = score ; totalQuestionsSpan2 . innerHTML = questions . length percentageSpan . innerHTML = Math . round ( ( score / questions . length ) * 100 ) + "%" }
Displays the quiz-over page if quiz is over
Displays the quiz - over page if quiz is over