GPA Calculator

About

How it Works

  • The app stores all of the users subjects in an array
  • It finds the average of the user's unweighted and weighted grades
  • Then it rounds these values to two decimal places and displays them out to the screen
  • The GPA changes whenever...
    • A grade is changed
    • A new subject is entered
    • A new subject is deleted

Storage

  • All grades are stored on the user's browser
  • When the app starts, it first checks if there are any grades in the browser storage
  • If there are, then it loads them, otherwise it loads and example list of subjects

Tools Used

  • Svelte: Svelte is a framework that allows us to write javscript that dynamically updates the HTML
By Samuel and Robbie 2023-2024