You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
966 B
28 lines
966 B
<h1>Quiz Random</h1>
|
|
<div class="quiz">
|
|
<h2> {{ question.question }} </h2>
|
|
|
|
<h3>Vie restante : {{ vie }}</h3>
|
|
|
|
<form id="quizForm" method="POST" >
|
|
<div class="answers">
|
|
<button class="answer" name="answera" value="{{ question.answera }}">
|
|
{{ question.answera }}
|
|
</button>
|
|
<button class="answer" name="answerb" value="{{ question.answerb }}">
|
|
{{ question.answerb }}
|
|
</button>
|
|
<button class="answer" name="answerc" value="{{ question.answerc }}">
|
|
{{ question.answerc }}
|
|
</button>
|
|
<button class="answer" name="answerd" value="{{ question.answerd }}">
|
|
{{ question.answerd }}
|
|
</button>
|
|
</div>
|
|
<input type="hidden" name="canswer" value="{{ question.canswer }}">
|
|
</form>
|
|
<a id="timer">{{ nb }}/∞</a>
|
|
</div>
|
|
</body>
|
|
</html>
|