update doesnt work properly for quiz but eveyrthing else works

This commit is contained in:
Jordan
2026-08-11 12:36:02 +12:00
parent f10b5ac323
commit d80bef959f
6 changed files with 134 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
</head>
<body>
<header>
<h1>Quiz Question</h1>
</header>
<div class="container">
<h2>Question {{ current_question }} of {{ total_questions }}</h2>
<form method="post">
<p>{{ question_data['question'] }}</p>
{% for option in question_data['options'] %}
<div>
<input type="radio" id="{{ option }}" name="option" value="{{ option }}">
<label for="{{ option }}">{{ option }}</label>
</div>
{% endfor %}
<button type="submit">Submit</button>
</form>
<p>{{ feedback }}</p>