/GPACalculatorWeb

A simple web calculator to calculate Grade Point Average (GPA).

Primary LanguageJavaScriptMIT LicenseMIT

GPA Calculator Web

This project is a simple GPA calculator to calculate Grade Point Average (GPA).

Web technologies used: HTML5, CSS and JavaScript.

Click the link in About section to use the GPA calculator.

A sample screenshot of Project

Screesshot of GUI

Run

How to calculate GPA:

  1. Enter the credit weight and grade of your course in course # section. (Optional: Enter cumulative GPA and credits taken so far if necessary.)
  2. After entering all courses, click on 'Calculate' button to calculate the GPA. The result will be displayed below the course table.

Usage example:

Example 1: Calculate the GPA

Calculate the GPA of three courses.

Screenshot of Default Screenshot of Calculate GPA

Example 2: Use the buttons to add course, remove course and reset fields

Add new courses by clicking 'Add course' button.

Screenshot of Add Course

Remove the last course by clicking 'Remove course' button.

Screesshot of Remove course

Reset the fields like credits and grade by clicking 'Reset fields' button.

Screesshot of Reset Fields

Example 3: Error messages

Error message for invalid credit.

Screesnhot of Invalid Credit Screesnhot of Invalid Credit

Error message for invalid grade.

Screesshot of Invalid Grade Screesshot of Invalid Grade

License

MIT License Copyright (c) 2020 Dev-Daljeet

Refer to LICENSE file for full information.