From 055c295f55b87284029b7549e3341df942f83f95 Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Mon, 4 Dec 2023 11:30:50 +0200 Subject: [PATCH] skeleton for question/answer data --- index.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/index.js b/index.js index 65d4831..001122a 100644 --- a/index.js +++ b/index.js @@ -6,6 +6,14 @@ function nameSubmit() { id: sId, startTime: Date.now(), }; + const sampleQuestion = { + title: "5x5?", + answers: + } + const sampleAnswer { + text: "answer 1", + correct: true, + }, localStorage.setItem(studData, JSON.stringify(studData)); var privacyViolation = document.getElementById("privacyViolation"); privacyViolation.style.display = "none";