function displayGrade(){
    timer1 = setTimeout(function() {
        correct.style.display = "block";
        correct.style.width = "20%";
        correct.style.borderTop = "solid 5px skyblue";
        correct.style.textAlign = "center";
        correct.style.fontSize = "20px";
        correct.style.color = "black";
        if(ans == true){
            correct.textContent = "Correct";
        }else{
            correct.textContent = "Wrong";
        }
    }, 1);
}
// displays whether or not you answered the question correctly or not
displays whether or not you answered the question correctly or not
displays whether or not you answered the question correctly or not
function displayGrade(){
    timer1 = setTimeout(function() {
        correct.style.display = "block";
        correct.style.width = "20%";
        correct.style.borderTop = "solid 5px skyblue";
        correct.style.textAlign = "center";
        correct.style.fontSize = "20px";
        correct.style.color = "black";
        if(ans == true){
            correct.textContent = "Correct";
        }else{
            correct.textContent = "Wrong";
        }
    }, 1);
}
function displayGrade ( ) { timer1 = setTimeout ( function ( ) { correct . style . display = "block" ; correct . style . width = "20%" ; correct . style . borderTop = "solid 5px skyblue" ; correct . style . textAlign = "center" ; correct . style . fontSize = "20px" ; correct . style . color = "black" ; if ( ans == true ) { correct . textContent = "Correct" ; } else { correct . textContent = "Wrong" ; } } , 1 ) ; }
displays whether or not you answered the question correctly or not
displays whether or not you answered the question correctly or not