Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.88 KB

File metadata and controls

60 lines (40 loc) · 1.88 KB

check-splitting-and-tipp-calculator | Online calculator for splitting bills including tip

This is a solution for an online calculator for splitting bills including a recommended tip depending on the quality of the service. Simply enter the amount of your bill, rate the quality of the service and let us know how many people will pay.

Table of contents

Overview

The challenge

Create a calculator with which you can use the invoice amount to do the following things:

  • calculate the tip
    • depending on the level of satisfaction with the service
      • poor service: 5% tip
      • average service: 10% tip
      • great service: 15% tip
  • calculate the money that everyone in your group has to pay
  • calculate the total amount from invoice amount + tip

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • JavaScript (Focused on arrays)

Continued Development

  • alert for empty input fields

Author

Acknowledgments

This project has been realized as part of the super(c)ode "Front-End Boot-Camp 2022".