Skip to content

Instantly share code, notes, and snippets.

@manakuro
Created April 1, 2020 02:27
Show Gist options
  • Save manakuro/0d7180f6753da8c83417c1a838311aa1 to your computer and use it in GitHub Desktop.
Save manakuro/0d7180f6753da8c83417c1a838311aa1 to your computer and use it in GitHub Desktop.
// Calculate tax based on the income and wealth value and ....
const income = document.getElementById('income').value;
const wealth = document.getElementById('wealth').value;
tax.value = (0.15 * income) + (0.25 * wealth);
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment