assets/js/app.js
// Function to kick off the quiz
Function to kick off the quiz
Function to kick off the quiz
function startQuiz(e) {
    if (e.target.matches('button')) {
        clearPage();
        resetVars();
        toggleQuizSelector();
        timerContainer.style.display = "block";
        setTimer();
        loadQuestion();
    }
}
function startQuiz ( e ) { if ( e . target . matches ( 'button' ) ) { clearPage ( ) ; resetVars ( ) ; toggleQuizSelector ( ) ; timerContainer . style . display = "block" ; setTimer ( ) ; loadQuestion ( ) ; } }
Function to kick off the quiz
Function to kick off the quiz
// Clear the page and reset all the variables // Toggle the quiz selector // Show the timer and set it; // Run loadQuestion function