Quiz
This commit is contained in:
parent
adf366c1d1
commit
12adaec761
@ -1,3 +1,5 @@
|
|||||||
|
const rootid = 'root';
|
||||||
|
|
||||||
const questions = [
|
const questions = [
|
||||||
{
|
{
|
||||||
image: "image.avif",
|
image: "image.avif",
|
||||||
@ -22,7 +24,7 @@ const questions = [
|
|||||||
|
|
||||||
class Quiz extends Find.createApp() {
|
class Quiz extends Find.createApp() {
|
||||||
constructor(questions) {
|
constructor(questions) {
|
||||||
const root = Find.search('root');
|
const root = Find.search(rootid);
|
||||||
super(root);
|
super(root);
|
||||||
this.question_type = undefined;
|
this.question_type = undefined;
|
||||||
this.questions = questions;
|
this.questions = questions;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user