The Tip Calculator is a lightweight web application built with HTML, CSS, and JavaScript that allows users to quickly calculate the tip amount and total bill based on a given percentage. Itβs ideal for real-life use cases such as dining out or splitting bills.
This project was created to enhance my skills in form handling, user input validation, and basic arithmetic logic using JavaScript. It also helped improve my ability to build clean and centered UIs with CSS.
ππ click here to see the live demo β>https://nanthakumar-m.github.io/Tip_Calculator-Html-Css-Javascript/index3.html
β Input fields for bill amount and tip percentage
β Real-time calculation of:
Tip amount
Total bill including tip
β Validation for empty or invalid inputs
β Responsive button interactions and dynamic result display
β JavaScript DOM manipulation using getElementById()
β Data parsing and number formatting with parseFloat() and toFixed()
β Form validation for user input
β CSS styling for centered, clean, and modern UI