How dhami200/ait-quality-dashboard works
Quiz App is a browser-based programming-topic quiz. The primary flow is topic selection, loading topic questions, answering and navigating, then submitting for scoring and answer review; theme control and a help chatbot are supporting capabilities. The repository also contains a separate quiz implementation under src/js and a legacy quiz script at the root. Those are shown without assuming they are wired into the documented src/index.html flow; unsampled page wiring is represented only where README supports it.
Main entry points: quiz.js Quiz engine · theme.js Theme control · index.html Topic home · quiz.html Quiz page
Components 15
Quiz experience
- Topic home
src/index.html - Quiz page
src/quiz.html - Quiz engine
src/quiz.js - Quiz interface
src/features/quiz/components/quiz.html - Score and review
src/quiz.js
Question content
- Topic question banks
src/data
User support
- Chatbot interface
src/features/chatbot/components/Chatbot.html - Chatbot assistant
src/features/chatbot/js/chatbot.js - Theme control
src/theme.js - Browser theme storage
Legacy quiz
- Legacy embedded questions
script.js - Legacy quiz renderer
script.js - Alternate quiz engine
src/js/quiz.js
Other components
- Learner
- System appearance setting
Connections 15
- Learner → Topic home: selects topic
README.md - Topic home → Quiz page: opens quiz
README.md - Quiz page → Quiz engine: runs
- Quiz engine → Topic question banks: fetches questions
src/quiz.js - Quiz engine → Quiz interface: renders questions
- Learner → Quiz interface: answers questions
README.md - Quiz engine → Score and review: computes and shows
src/quiz.js - Learner → Chatbot interface: asks for help
README.md - Chatbot interface → Chatbot assistant: handles messages
- Theme control → Browser theme storage: saves preference
src/theme.js - Browser theme storage → Theme control: restores preference
src/theme.js - System appearance setting → Theme control: provides preference
src/theme.js - Legacy embedded questions → Legacy quiz renderer: supplies questions
script.js - Learner → Legacy quiz renderer: uses standalone quiz
- Alternate quiz engine → Topic question banks: fetches questions
src/js/quiz.js