skeleton for question/answer data
This commit is contained in:
8
index.js
8
index.js
@@ -6,6 +6,14 @@ function nameSubmit() {
|
|||||||
id: sId,
|
id: sId,
|
||||||
startTime: Date.now(),
|
startTime: Date.now(),
|
||||||
};
|
};
|
||||||
|
const sampleQuestion = {
|
||||||
|
title: "5x5?",
|
||||||
|
answers:
|
||||||
|
}
|
||||||
|
const sampleAnswer {
|
||||||
|
text: "answer 1",
|
||||||
|
correct: true,
|
||||||
|
},
|
||||||
localStorage.setItem(studData, JSON.stringify(studData));
|
localStorage.setItem(studData, JSON.stringify(studData));
|
||||||
var privacyViolation = document.getElementById("privacyViolation");
|
var privacyViolation = document.getElementById("privacyViolation");
|
||||||
privacyViolation.style.display = "none";
|
privacyViolation.style.display = "none";
|
||||||
|
|||||||
Reference in New Issue
Block a user