Tip Calculator
A simple JS app to help you split the bill.
See DemoWhat?
A simple JS app that calculates how much tip you should leave on your bill, and how much each person should pay if you're with a group.
Why?
I, like many others, like to eat out a lot. Sometimes when I'm done eating I don't want to do math, but of course I must leave a tip. So I made this little app to help!
How?
Inspired by a prompt from frontendmentor.io and a feeling that I hadn't coded any JavaScript in a while, I decided to build this little app one weekend as a fun exercise. The design was provided in the challenge prompt, however I made one slight tweak that I felt would give a slightly better user experience on mobile. I added tap-able plus and minus buttons next to the Number of People input so users wouldn't have to bring up the keyboard for that input. Instead, they can quickly tap the buttons to make changes.