From bb31fc3b6c85feac694d04a51d569863b0fc8ecf Mon Sep 17 00:00:00 2001 From: structix Date: Mon, 15 Jul 2019 13:56:40 +0200 Subject: [PATCH] Update --- uebung10/quiz.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uebung10/quiz.html b/uebung10/quiz.html index 7d691b4..1c36a45 100644 --- a/uebung10/quiz.html +++ b/uebung10/quiz.html @@ -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++;