Open HerbFargus opened 6 years ago
Values:
Annual Salary, Hourly Salary (might keep this hidden as well depending, or maybe I'll leave it as an editable field for switching to diff salaries)
Counters:
Interactivity:
POC, will need refactoring
http://jsfiddle.net/dm6LL/340/
http://jsfiddle.net/gcjysczj/4/ (this one is ugly)
Need to switch to single html and maybe split out and reference CSS and Js
TODO:
refactor
Future Plans:
This is just a post for thinking out loud with ideas/frameworks.
The main idea is just to be able to go to a simple page, put in your annual salary or hourly wage and have it start a counter showing how much money you've made per second. You ask why? I ask why not?
For right now its just a gimmicky ephemeral thing where it only runs so long as it's up, no real database or anything.
If I were to do it proper it would have a way you could sign in, would have a fancy dashboard, include deductions and run real time and possibly sync with time cards. This really is something that would be better integrated with some kind of company time card keeping service but I'm just doing this for fun to learn a few things.
Variables List:
Variables:
Salary
Deductions:
= Sum of Deductions / Weekly Salary
Example JSFiddle Counters:
http://jsfiddle.net/henser/qvp2c0ya/1/
https://jsfiddle.net/cdr4fzg3/
https://jsfiddle.net/wizajay/rro5pna3/
http://jsfiddle.net/wigster/s9tcd8sv/
http://jsfiddle.net/gcjysczj/