ajout quiz

This commit is contained in:
Your Name
2025-12-05 01:34:26 +01:00
parent 4b3fbc4957
commit befaefe3c6
9 changed files with 448 additions and 0 deletions

10
Quiz/question.html Normal file
View File

@@ -0,0 +1,10 @@
{% for q in questions %}
<div class="test" id="test1">
<h2>{{q.question}}</h2>
{% for a in q.answer%}
<label class="ans">{{a.answer}}<input id="tgl{{a.nb}}{{q.nb}}" type="checkbox" onclick=""></input></label><br>
{% endfor %}
<button class="ans" id="sub1" onclick="tog()">sub</button>
<p class="ans" id="answer1"><br></p><br>
</div>
{% endfor %}