How mubashirtech56/gpa-calculator- works
NUCES GPA Calculator is a browser-only academic calculator. The user enters current CGPA and credits, adds semester courses and any repeated-course details, then calculates SGPA, updated CGPA, and total credits; the app can also export a transcript. The graph separates the input workflow, GPA rules, and result/export presentation. The README documents the broader UI and export capabilities, while the only sampled source is script.js, so unsampled implementation links rely on README statements.
Main entry points: index.html Calculator interface · script.js SGPA and CGPA · style.css Responsive styling
Components 12
Academic inputs
- Calculator interface
index.html - Course table
script.js - Course controls
script.js
GPA calculation
- Input validation
script.js - Grade point scale
script.js - Repeat replacement
script.js - SGPA and CGPA
script.js
Results and export
- Result display
index.html - Number animation
script.js - Transcript export
index.html - Responsive styling
style.css
Other components
- Student
Connections 12
- Student → Calculator interface: enters data
README.md - Calculator interface → Course table: provides course table
README.md - Course controls → Course table: adds or removes
script.js - Calculator interface → Input validation: submits values
README.md - Input validation → SGPA and CGPA: validates inputs
script.js - Grade point scale → Course table: supplies grade options
script.js - SGPA and CGPA → Repeat replacement: applies replacement
script.js - SGPA and CGPA → Result display: shows results
README.md - SGPA and CGPA → Number animation: animates values
script.js - Number animation → Result display: updates figures
script.js - Student → Transcript export: exports transcript
README.md - Calculator interface → Responsive styling: uses styling
README.md