Skip to content

Destiny-Isiguzo/Tip-Calculator-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Tip Calculator

A simple and intuitive tip calculator built with JavaScript. This application allows users to input the total bill amount, the number of people splitting the bill, and choose a tip percentage. The application then calculates and displays the tip amount per person and the total amount per person.

Features

  • Input fields for bill amount, number of people, and custom tip percentage
  • Buttons for selecting predefined tip percentages (5%, 10%, 15%, 25%, 50%, and custom)
  • Display for the calculated tip amount per person
  • Display for the calculated total amount per person
  • Reset button to clear all input fields and reset the displays

Usage

  1. Enter the total bill amount in the input field.
  2. Enter the number of people splitting the bill in the input field.
  3. Choose a tip percentage by either clicking on a predefined percentage button or entering a custom percentage in the input field.
  4. The application will automatically calculate and display the tip amount per person and the total amount per person.
  5. To reset all input fields and clear the displays, click the "Reset" button.

Technologies Used

  • HTML5
  • CSS3
  • JavaScript

Contribution

If you have any suggestions or want to add extra features to this tip calculator, feel free to fork the repository and create a pull request. Here are the steps to contribute:

  1. Fork the repository.
  2. Create a new branch for your feature.
  3. Commit your changes to the new branch.
  4. Push the new branch to your fork.
  5. Create a pull request from your fork to the original repository.

Please ensure that your pull request adheres to the following guidelines:

  • Use a clear and descriptive title for the pull request.
  • Provide a step-by-step description of the changes you made.
  • Make sure that your code is well-documented and follows good coding practices.
  • Ensure that your changes do not introduce any new bugs or issues.

Thank's for your contributions!

tip-calc-mobile

tip-calc-desktop

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published