TipCalculator
This project is a web application or page through which user can calculate the tip amount for a bill and total bill with tip.
Web technologies used: HTML5, CSS3 and JavaScript
Click the link in About section to use the Tip Calculator app.
A sample screenshot of Project
Run
How to use the app:
- Enter the bill amount in the number field and tip amount using the range/slider. Do not enter negative bill value or it will throw an error message.
- After entering the values in a valid format, you will see the tip amount and total bill with tip. The result will be displayed automatically as you enter/change the values.
How to download/run:
- Clone the project or download the zip file and unzip it
- Click on index.html and open it with any compatible web browser like Chrome, Edge, Opera or Firefox
- You will see the web page with tip calculator heading, one number field and one range/slider.
Usage example
Example 1: Calculating the tip amount of a bill
Example 2: Error messages for invalid input (Negative bill value)
License
MIT License Copyright (c) 2020 Dev-Daljeet
Refer to LICENSE file for full information.