Using vanilla javascript, click events with audio play. The user can choose to have the tip on the total bill calculated. The user can add number of people and calculate the total cost of the bill and tip per person or simply the tip per person.
Alerts will fire if:
- user fails to enter both meal cost and service level
- user fails to enter number of people if they want to calculate split bill
- user enters 1 as number of people when calculating split bill
Last little thing to fix: If user enters meal amount and service and 1 person THEN Alert fires: the total is on you AND when showing total bill incl tip, 'per person' should not display see line 70 compare with line 19-29