Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 1.48 KB

README.md

File metadata and controls

62 lines (40 loc) · 1.48 KB

Split Bill Calculator

Overview

This is a simple web application that helps you calculate the total bill amount and the amount to be split per person.

Usage

  1. Add Items:

    • Click the "Add Items" button to dynamically add items with their respective amounts.
  2. Calculate:

    • Enter the total bill amount in the "Total Bill Amount (₹)" field.
    • Enter the number of persons in the "Number of Persons" field.
    • Click the "Calculate" button to see the amount to be split per person.

Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/split-bill-calculator.git
  2. Open index.html in your web browser.

  3. Start adding items and use the "Calculate" button to get the results.

File Structure

  • index.html: HTML file containing the form structure.
  • script.js: JavaScript file for form validation and submission.

Contributing

If you'd like to contribute to this project, please follow these steps:

  1. Fork the Repository:

    • Click on the "Fork" button on the top right of the GitHub page.
  2. Create a new branch.

    git checkout -b feature-name
  3. Make your changes and commit them.

    git commit -m "Add new feature"
  4. Push to Your Branch:

    git push origin feature-name
  5. Create a Pull Request:

    • Create a pull request on GitHub.

License

This project is licensed under the MIT License.