Learning project: a basic tip calculator demonstrating form handling, input validation, and DOM updates with vanilla JavaScript.
- Enter bill amount, choose service quality, and number of people
- Calculates tip amount per person
- Hides "each" when only one person is paying
- Basic form validation with alerts
- HTML5 + CSS3 (normalize.css + custom styles)
- JavaScript (DOM access, event handling, arithmetic)
- Grabbing and validating input from forms
- Updating the DOM dynamically
- Applying math logic to a real-world scenario
Open tipcalculator.html in a browser.
Originally built as part of a Udemy front-end practice exercise.
MIT