How devsidd2006/quiz-master-enhanced works
Project type and purpose
• Quiz Master is a client-side, multi-page quiz application (index.html, daily-challenges.html, profile.html) that runs entirely in the browser.
• Its purpose is to present interactive quizzes, track user progress (streaks, achievements, badges, statistics), and store data locally via LocalStorage.
File structure
• Top-level HTML pages:
• index.html (landing & quiz engine)
• daily-challenges.html (day-specific quiz)
• profile.html (user profile & statistics)
• JavaScript modules (in clear, single‐responsibility files):
• script.js (app bootstrap, routing between pages)
• questions.js (question data + quiz logic)
• streak.js (streak calculation & display)
• achievements.js (achievement rules + UI)
• badges.js (badge assignment + UI)
• profile.js (profile data management + summary)
• Styles and assets:
• styles.css & streak.css (layout, responsive design, dark mode toggle)
• images/ & opening-144757.mp3 (media assets)
• Configuration: none (static files served from any web server or CDN).
README for additional insights
• UI is enhanced with animations, transitions, gradient backgrounds, and mobile‐first design.
• Data persistence via LocalStorage (scores, settings, theme choice, streaks).
• Hosted as a static site (e.g., Vercel).
Elements
• Server → Browser (file delivery)
• Browser UI → JS Modules (user actions)
• JS Modules ↔ LocalStorage (read/write)
• Blue rectangles for front-end components (HTML/CSS, JS modules)