From 12adaec761ec769e5b1c4fdbdf1a6c8d5d0f8354 Mon Sep 17 00:00:00 2001 From: german Date: Tue, 14 Apr 2026 15:26:00 +0400 Subject: [PATCH] Quiz --- demos/Quiz/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;