19 lines
613 B
HTML
19 lines
613 B
HTML
<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> |