Skip to content

Latest commit

 

History

History

7-tip_calculator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Tip Calculator

Description

Tip Calculator is a web application that allows users to easily calculate the appropriate tip amount for various services, particularly in restaurant settings. It provides a quick and convenient way to determine the tip based on the bill amount, desired tip percentage, and number of people sharing the bill. The application also offers features like splitting the bill among multiple people and supports different tipping percentages.

Features

  • Tip Calculation: Enter bill amount and select tip percentage to calculate the tip.
  • Bill Splitting: Option to split the total bill (including tip) among multiple people.
  • Custom Tip Percentage: Allow users to input a custom tip percentage.
  • Dark Mode: Toggle between light and dark themes for comfortable viewing.
  • Responsive Design: Adapts to different screen sizes for optimal user experience.

Tip Percentages

The Tip Calculator offers standard tip percentages based on common practices:

  • 15%: Standard tip for adequate service
  • 18%: Good service
  • 20%: Excellent service
  • Custom: User-defined percentage

Technologies Used

  • JavaScript: Implements timer logic and interactivity.
  • HTML: Structures the application's layout.
  • CSS: Styles the application's appearance.

Setup

Follow these instructions to set up and run the Tip Calculator project:

  1. Clone the Repository:

    git clone https://github.com/phuchoa2001/ULTIMATE-JAVASCRIPT-PROJECT.git
    cd Basic Projects/7-tip_calculator
  2. Open the Project: Open the index.html file in your preferred web browser to start the application.

  3. Open index.html in your web browser: You can open the index.html file directly in your web browser by double-clicking on it or by using a live server extension in your code editor (like Live Server for VSCode).

Contribution

Contributions to the Tip Calculator project are welcome. Follow these steps to contribute:

  1. Fork the Repository: Click the "Fork" button on the repository's GitHub page to create a copy of the repository under your GitHub account.

  2. Clone Your Fork:

    git clone https://github.com/your-username/countdown-timer.git
    cd Basic Projects/7-tip_calculator
  3. Create a Branch: Create a new branch for your feature or bug fix.

    git checkout -b feature-name
  4. Make Changes: Make your changes to the codebase. Ensure your code follows the project's style guidelines.

  5. Commit Changes: Commit your changes with a descriptive commit message.

    git commit -m "Description of the changes"
  6. Push Changes: Push your changes to your forked repository.

    git push origin feature-name
  7. Create a Pull Request: Open a pull request from your fork's branch to the main repository's main branch. Provide a clear description of your changes and the purpose of the pull request.

Get in Touch

If you have any questions or need further assistance, feel free to open an issue on GitHub or contact us directly. Your contributions and feedback are highly appreciated!


Thank you for your interest in the Tip Calculator project. Together, we can build a more robust and feature-rich application. Happy coding!