The correct answer is fixed on the last option. I don't see how this proves anything.
if (ans == 4){ document.getElementById("question_right").style.display = "block"; } else { document.getElementById("question_wrong").style.display = "block"; }
if (ans == 4){ document.getElementById("question_right").style.display = "block"; } else { document.getElementById("question_wrong").style.display = "block"; }