How hasini8-debug/vtu-gptrack works
VTU GPTrack is a browser-based calculator for VTU students. Students can navigate from the home page to an SGPA calculator, which accepts course marks and credits and presents grade and SGPA results, or to a CGPA calculator, which combines semester SGPAs weighted by credits. A feedback form submits suggestions through a configured HTTP endpoint. The source excerpts show the calculation and interaction logic; page-to-script wiring and some HTML details were not sampled.
Main entry points: VTU-CGPA-calculator/script.js CGPA calculation · script.js Card navigation · VTU-SGPA-Calculator/script.js SGPA calculation · index.html Home page
Components 14
Home and navigation
- Home page
index.html - Card navigation
script.js
SGPA calculator
- Course inputs
VTU-SGPA-Calculator/script.js - Grade mapping
VTU-SGPA-Calculator/script.js - SGPA calculation
VTU-SGPA-Calculator/script.js - SGPA results
VTU-SGPA-Calculator/script.js
CGPA calculator
- Semester inputs
VTU-CGPA-calculator/script.js - Input validation
VTU-CGPA-calculator/script.js - CGPA calculation
VTU-CGPA-calculator/script.js - Motivational message
VTU-CGPA-calculator/script.js - CGPA results
VTU-CGPA-calculator/script.js
Feedback
- Feedback form
script.js - Form endpoint
Other components
- Student
Connections 17
- Student → Home page: opens
README.md - Home page → Card navigation: uses navigation
- Card navigation → Course inputs: navigates to
script.js - Card navigation → Semester inputs: navigates to
script.js - Student → Course inputs: enters courses
README.md - Course inputs → SGPA calculation: provides marks
VTU-SGPA-Calculator/script.js - SGPA calculation → Grade mapping: calculates grade points
VTU-SGPA-Calculator/script.js - SGPA calculation → SGPA results: displays totals
VTU-SGPA-Calculator/script.js - SGPA results → Student: shows result
VTU-SGPA-Calculator/script.js - Student → Semester inputs: enters semesters
README.md - Semester inputs → CGPA calculation: submits values
VTU-CGPA-calculator/script.js - CGPA calculation → Input validation: validates inputs
VTU-CGPA-calculator/script.js - CGPA calculation → Motivational message: gets message
VTU-CGPA-calculator/script.js - CGPA calculation → CGPA results: displays result
VTU-CGPA-calculator/script.js - CGPA results → Student: shows result
VTU-CGPA-calculator/script.js - Student → Feedback form: submits suggestions
README.md - Feedback form → Form endpoint: posts feedback
script.js