Skip to content

Instantly share code, notes, and snippets.

View vcolesdev's full-sized avatar
📚
Studying for the MongoDB Certification Exam.

Vanessa Coles (vcolesdev) vcolesdev

📚
Studying for the MongoDB Certification Exam.
View GitHub Profile
@vcolesdev
vcolesdev / SalaryCalculator.js
Last active February 5, 2023 00:34
Salary calculator based on taxes for CA residents written in Vanilla JavaScript. TODO: Account for federal tax rates.
// Constants
const WORK_HOURS = 8
const TOTAL_WORK_HOURS = 2088
//const TOTAL_WORK_DAYS = 261
//const TOTAL_WORK_WEEKS = 48
const CA_STATE_TAXES = 25.6 / 100
const CA_STATE_INS_TAXES = 8.56 / 100
/**