Bill Split is a simple, intuitive web app that helps users split bills and calculate tips easily. It allows users to input a total bill amount, select the number of people sharing the bill, and either choose a predefined tip percentage or input a custom tip. The app will then calculate the tip, total bill, and each person's share, making it perfect for dining out with friends or family.
- Bill Input: Enter the total bill amount to be split.
- People Input: Specify the number of people sharing the bill.
- Tip Percentage: Choose a predefined tip percentage or enter a custom tip.
- Real-time Calculation: Instantly see the total bill, tip amount, and how much each person should pay.
- Reset Functionality: Easily reset all inputs and calculations to start over.
Check out a live demo of Bill Split here.
- Enter the total bill amount.
- Enter the number of people splitting the bill.
- Select a tip percentage from the options or enter a custom tip.
- The app will display the total tip amount, the total bill (including tip), and how much each person needs to pay.
- Click the reset button to start over.
To run this app locally:
-
Clone the repository:
git clone https://github.com/RahulBRB/Bill-Spilt.git
-
Open the
index.html
file in your browser.
No additional setup is required as this is a front-end-only project.
- HTML: Markup structure for the app.
- CSS: Styles for the layout and appearance.
- JavaScript: Logic for calculating the tip, total bill, and splitting the amount per person.
Contributions are welcome! Feel free to open an issue or submit a pull request to improve the app or add new features.
For any questions or suggestions, please reach out:
- GitHub: RahulBRB
- Email: rahulcodex@proton.me