A lightweight and user-friendly bill splitting application built with vanilla JavaScript. Easily calculate the amount each person owes, customize tip percentages, and ensure fair bill division.
- Calculate bill split for:
- ✅ Total bill amount.
- ✅ Number of people.
- ✅ Custom tip percentages.
- Fully responsive design for mobile and desktop.
- Intuitive user interface.
- HTML
- CSS
- JavaScript
- Enter the Total Bill Amount.
- Specify the Number of People sharing the bill.
- Select a Tip Percentage, or enter a custom value.
- The app calculates and displays the amount each person owes, including the tip.
bill-splitter/
├── index.html # UI Layout
├── style.css # Styling
└── script.js # Core Logic
- Clone this repository:
git clone https://github.com/immortalWebDev/bill-splitter.git
- Navigate to the project directory:
cd bill-splitter
- Open
index.html
in your browser:open index.html
- Total Bill: 1200
- Tip Percentage: 10%
- Number of People: 4
Amount Per Person: 330
- Add a currency selection feature.
- Implement a dark mode toggle.
- Add a history feature to save previous calculations.
Contributions are welcome! Please follow these steps:
- Fork this repository.
- Create a new branch:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add new feature"
- Push the branch:
git push origin feature-name
- Open a pull request.
Thanks to all developers who inspire creative and efficient solutions.
For any inquiries, feedback, or support:
- Phone: WhatsApp
- Email: pgbadgujar007@gmail.com
- Portfolio: My Portfolio
Enjoy seamless bill splitting! 😊
Created with 💕 by Piyush