Files
robotik-wise23/quiz/quiz.html
T
2023-12-18 08:15:20 +01:00

19 lines
527 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Quiz</title>
</head>
<body>
<form method="POST" action="/submit_quiz">
{% for question in q_a %}
<p>{{ question.question }}</p>
<!-- {% for answer in question.answers %}
<input type="radio" name="question{{ loop.index }}" value="{{ answer }}"> {{ answer }}<br>
{% endfor %} -->
<p>{{ question.answer }}</p>
{% endfor %}
<input type="submit" value="Quiz abschicken">
</form>
</body>
</html>