This commit is contained in:
2019-07-15 13:56:40 +02:00
parent 19686ebdca
commit bb31fc3b6c

View File

@@ -118,7 +118,7 @@ function answerQuestion(event) {
falschAudio.play();
target.style.backgroundColor = "red";
console.log(question.solution);
document.getElementById("answer" + question.solution).style.backgroundColor == "green";
document.getElementById("answer" + question.solution).style.backgroundColor = "green";
}
setTimeout(function () {
currentQuestion++;