A web-based GPA calculator tailored for direct-intake Computer Science students at the University of Jaffna. This tool calculates the current GPA based on entered marks and estimates the average grade needed in upcoming courses to reach the target overall GPA of 3.0, which is required for 4th-year eligibility.
- Current GPA Calculation: Enter your marks for completed courses to calculate your weighted GPA.
- Future Grade Estimation: Determine the average grade required in remaining courses to achieve a final GPA of at least 3.0.
- Tailored to Curriculum: Uses the specific course structure and credit distribution for the Jaffna University Computer Science program.
- Clean Code Structure: Separated HTML, CSS, and JavaScript files for easy maintenance and customization.
UOJ-CS-GPA-Calculator/
├── index.html # Main HTML file with the structure and course input fields
├── styles.css # CSS file for styling the interface
└── script.js # JavaScript file containing the GPA calculation logic
-
Clone the Repository:
git clone https://github.com/YOUR_USERNAME/UOJ-CS-GPA-Calculator.git
-
Navigate to the Project Directory:
cd UOJ-CS-GPA-Calculator -
Open the Application:
Open the
index.htmlfile in your favorite web browser (e.g., Chrome, Firefox, or Edge). You can simply double-click the file or run:- macOS:
open index.html - Windows:
start index.html
- macOS:
-
Enter Your Marks:
- Select the grade (A+, A, A-, etc.) for each completed course from the dropdown.
-
Calculate GPA:
- Click the "Calculate GPA" button.
- The application will display your current GPA based on the entered grades.
- It will also show the average grade needed in the upcoming courses to ensure your overall GPA reaches 3.0.
-
Customization:
- If necessary, update the
totalProgramCreditsvariable inscript.jsto match the actual total credit load for your full degree program.
- If necessary, update the
Contributions are welcome! If you have suggestions or improvements:
- Feel free to fork the repository.
- Create issues or submit pull requests with your changes.
This project is licensed under the MIT License.
For any questions or feedback, please contact:
📧 pamudaugoonatilake@gmail.com