update doesnt work properly for quiz but eveyrthing else works
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user