How mepimchanok/student-grading-system works
This is a small, browser-based student grading application. A user submits student and course-grade details through the page; the JavaScript UI handler passes them to the grading manager, which keeps student records in memory. The UI then renders student cards, class GPA statistics, and a GPA chart. The README documents the separation of HTML, styling, and logic; the source excerpt shows the runtime calls. The HTML and CSS contents were not sampled, so their internal behavior and wiring are not detailed here.
Main entry points: script.js Grading Manager · index.html Page Structure · style.css Page Styling
Components 11
Browser Interface
- Page Structure
index.html - Page Styling
style.css - Form Handler
script.js
Grading Domain
- Grading Manager
script.js - Student Records
script.js - In-Memory Records
script.js
Results Presentation
- Student Cards
script.js - GPA Statistics
script.js - GPA Chart
script.js
Other components
- User
- Chart.js
Connections 14
- User → Page Structure: uses
- Page Structure → Form Handler: loads
- Form Handler → Grading Manager: submits grades
script.js - Grading Manager → Student Records: creates or updates
script.js - Grading Manager → In-Memory Records: stores records
script.js - Form Handler → Student Cards: renders
script.js - Student Cards → Grading Manager: reads students
script.js - Student Cards → Student Records: calculates GPA
script.js - Form Handler → GPA Statistics: updates
script.js - GPA Statistics → Grading Manager: requests summary
script.js - Form Handler → GPA Chart: updates
script.js - GPA Chart → Grading Manager: reads students
script.js - GPA Chart → Chart.js: renders with
script.js - Page Structure → Page Styling: styled by
README.md