Ajoute les routes statiques pour le quizz
This commit is contained in:
@@ -8,5 +8,19 @@
|
|||||||
"nb" : 1
|
"nb" : 1
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"question" : "hello",
|
||||||
|
"nb" : 2,
|
||||||
|
"answer" : [
|
||||||
|
{
|
||||||
|
"answer" : "salut",
|
||||||
|
"nb" : 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"answer" : "deux",
|
||||||
|
"nb" : 2
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -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' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user