I made this calculator based off of this youtube video. This isn't any of my original code (except for the gradiant background.)
You can find the reference tutorial here: https://www.youtube.com/watch?v=j59qQ7YWLxw&feature=emb_logo&ab_channel=WebDevSimplified