All JS modules were running immediately (IIFE/DOMContentLoaded) but tab HTML is lazy-loaded from /components/*.html, causing null errors on every addEventListener call. Each module now listens for tabChanged with its tab name and initializes once after the DOM is ready. Also: quiz question/explanation boxes changed to textarea for multi-line support; quiz display uses sanitizeHtml() so formatted text (bold, lists, etc.) renders correctly. |
||
|---|---|---|
| .. | ||
| components | ||
| css | ||
| icons | ||
| js | ||
| favicon.ico | ||
| index.html | ||
| manifest.json | ||
| sw.js | ||