diff --git a/demos/Quiz/index.js b/demos/Quiz/index.js index 048f73b..5370adf 100644 --- a/demos/Quiz/index.js +++ b/demos/Quiz/index.js @@ -1,3 +1,5 @@ +const rootid = 'root'; + const questions = [ { image: "image.avif", @@ -22,7 +24,7 @@ const questions = [ class Quiz extends Find.createApp() { constructor(questions) { - const root = Find.search('root'); + const root = Find.search(rootid); super(root); this.question_type = undefined; this.questions = questions;