Tip calculator
1 hEnter a bill, a tip percent and the number of people, and see what each person pays.
- Build a form with three number inputs
- Recalculate on every input event
- Round money to 2 decimals and format it with Intl.NumberFormat
- Show a message for empty or negative values
Done when: The total updates as you type and never shows NaN.
- Events
- Numbers
- Input validation