How adi7ya26/student-dashboard works
Project type and purpose
• This is a front-end, multi-page static Student Dashboard built with HTML, CSS, and vanilla JavaScript.
• The README confirms it's purely client-side, no backend or database; it lives on a static web host (GitHub Pages, Netlify, Apache, etc.) and serves a simple, responsive dashboard with an exam view, timetable, password screen, and landing page.
File structure
• Top level:
• index.html – the main dashboard page
• exam.html – exam details view
• timetable.html – timetable view
• password.html – gatekeeper/login page
• app.js – core application logic (handles page interactions, navigation gating)
• timeTable.js – logic specific to timetable rendering
• style.css – global styling and responsive rules
• LICENSE, README.md – project metadata
Key insights from the README
• Emphasis on minimalism, responsiveness, and dynamic UI without frameworks.
• No mention of APIs or server-side data sources; assume all data is either hardcoded or loaded client-side (e.g., from local JSON embedded in JS).
Main components
a. Client (Web Browser)
• Renders HTML/CSS, executes JS (app.js, timeTable.js).
b. Static File Server
• Serves .html, .css, .js, and images/ assets over HTTP(S).
c. Static Assets
• style.css, images folder
d. JavaScript Modules
• app.js (routing & UI logic)
• timeTable.js (timetable data & rendering)
Relationships and data-flow
• Browser → (HTTP GET) → Server: index.html, style.css, app.js, images, etc.
• app.js loads after index.html + style.css; it controls navigation to exam.html, timetable.html, password.html.
• timeTable.js is fetched within timetable.html and dynamically renders the schedule.
• CSS is applied globally; images are fetched on demand by the HTML.
Architectural patterns & design principles
• Multi-page static site with client-side routing logic (via separate HTML pages).
• Separation of concerns:
• Presentation (HTML + CSS)
• Behaviour (JavaScript modules)
• Assets (images)
• Progressive enhancement – works with plain HTML/CSS, enhanced by JS.