Ajoute les routes statiques pour le quizz

This commit is contained in:
2025-12-05 02:16:50 +01:00
parent 6dc6df60c6
commit 0a95a72cbb
2 changed files with 18 additions and 4 deletions

View File

@@ -8,5 +8,19 @@
"nb" : 1 "nb" : 1
} }
] ]
},
{
"question" : "hello",
"nb" : 2,
"answer" : [
{
"answer" : "salut",
"nb" : 1
},
{
"answer" : "deux",
"nb" : 2
}
]
} }
] ]

View File

@@ -2,12 +2,12 @@
<html> <html>
<head> <head>
<title>Nuit de l'info quiz</title> <title>Nuit de l'info quiz</title>
<link href="test.css" rel="stylesheet"> <link href="/static/quiz.css" rel="stylesheet">
<link href="logo_n2i_color_moon.svg" rel="icon"> <link href="/static/logo_n2i_color_moon.svg" rel="icon">
<script src="test.js"></script> <script src="static/quizz.js"></script>
</head> </head>
<body> <body>
<a href="test.html"><img class="logo" src="logo_n2i_color_moon.svg"></a> <a href="test.html"><img class="logo" src="static/logo_n2i_color_moon.svg"></a>
<h1 id="txt">page du quiz</h1> <h1 id="txt">page du quiz</h1>
<button id="strt" onclick="startQuiz()">Start Quiz!</button> <button id="strt" onclick="startQuiz()">Start Quiz!</button>
{% include 'question.html' %} {% include 'question.html' %}