Update script.js
Browse files- static/script.js +2 -1
static/script.js
CHANGED
|
@@ -51,7 +51,8 @@ function updateSliderValue(value) {
|
|
| 51 |
}
|
| 52 |
|
| 53 |
function startQuiz() {
|
| 54 |
-
|
|
|
|
| 55 |
}
|
| 56 |
|
| 57 |
function checkAnswers() {
|
|
|
|
| 51 |
}
|
| 52 |
|
| 53 |
function startQuiz() {
|
| 54 |
+
const startQuestion = parseInt(document.getElementById('start-question-number').value, 10);
|
| 55 |
+
socket.emit('start_quiz', { start_question: startQuestion });
|
| 56 |
}
|
| 57 |
|
| 58 |
function checkAnswers() {
|