diff --git a/cgi-bin/uebung09/questions-show.php b/cgi-bin/uebung09/questions-show.php
index 16800b4..493e06d 100644
--- a/cgi-bin/uebung09/questions-show.php
+++ b/cgi-bin/uebung09/questions-show.php
@@ -26,10 +26,18 @@ $questionsobj = json_decode(json_encode($questions), false);
foreach($questionsobj as $question) {
echo("
");
echo("$question->question | ");
- echo("$question->answer0 | ");
+
+ $color = ($question->solution == 0) ? "background-color: green" : "background-color: red";
+ echo("$question->answer0 | ");
+
+ $color = ($question->solution == 1) ? "background-color: green" : "background-color: red";
echo("$question->answer1 | ");
+
+ $color = ($question->solution == 2) ? "background-color: green" : "background-color: red";
echo("$question->answer2 | ");
- echo("$question->solution | ");
+
+ echo(" | ");
+ echo(" | ");
echo("
");
}