Skip to content

Bartek404/FairShare-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FairShare v2

Second version of my JavaScript project as part of learning the language.

The calculator allows calculating a fair and proportional contribution to the household budget for both partners based on their incomes.


Other features include:

-An advanced mode that allows manually entering individual bills.

-A day/night mode based on the user's system settings.

-After the calculations, the application displays charts, one main for income division and another for the advanced mode if it's enabled.

Tech Stack

HTML, SASS with BEM, JavaScript, Chart.js

FAQ

Why does the application sometimes overestimate the contribution to the budget, for example, we need 1000, but the partners contributed 1003?

Because it's not always possible to calculate an equal contribution for both partners for the given amount, the application displays the nearest possible result.

Feedback

If you have any feedback, please reach out to me at contact@bm-web.dev