From f7070f1f38fb91133ba13bd4ccde004b924ff457 Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Tue, 5 Dec 2023 08:47:17 +0200 Subject: [PATCH] please --- index.html | 12 ++++-------- index.js | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index ab8fea0..cd9c602 100644 --- a/index.html +++ b/index.html @@ -43,16 +43,12 @@
- - - - + +
- - - - + +
diff --git a/index.js b/index.js index 5c45954..35b8124 100644 --- a/index.js +++ b/index.js @@ -103,7 +103,7 @@ console.log(questions[0].answers); function setQ(n) { var question = document.getElementById("question") question.innerText = questions[n].title; - var labels = ["label1", "label2", "label3", "label4",] + var labels = ["ans1", "ans2", "ans3", "ans4",] var current_question = JSON.parse(JSON.stringify(questions[n].answers)); for (let i = 0; i < current_question.length; i++) { var q = document.getElementById(labels[i]);