From adf366c1d183bddde6a474c444e939a01cd0f1dd Mon Sep 17 00:00:00 2001 From: german Date: Tue, 14 Apr 2026 15:25:02 +0400 Subject: [PATCH] Quiz --- Find/Find.js | 4 ++++ demos/Quiz/index.html | 2 +- demos/Quiz/index.js | 2 +- demos/Quiz/nomodule-find.min.js | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Find/Find.js b/Find/Find.js index fd37302..e0ba115 100644 --- a/Find/Find.js +++ b/Find/Find.js @@ -179,6 +179,10 @@ export default class Find { return document.getElementById(name); } + rootId() { + return this.root.id; + } + main(el) { this.root = el; this._map.root = el; diff --git a/demos/Quiz/index.html b/demos/Quiz/index.html index 5059ead..83ae603 100644 --- a/demos/Quiz/index.html +++ b/demos/Quiz/index.html @@ -33,7 +33,7 @@ -
+
diff --git a/demos/Quiz/index.js b/demos/Quiz/index.js index b7118de..048f73b 100644 --- a/demos/Quiz/index.js +++ b/demos/Quiz/index.js @@ -66,7 +66,7 @@ class Quiz extends Find.createApp() { setMeta() { this.meta([ Find.content(''), - Find.content(''), + Find.content(``), Find.content( `