Skip to content

prabhsingh13/Split-Your-Bill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks