Create a library file named income.js that contains the definition of the IncomeTax function. Then, create a Web page named taxes.html that loads the income.js library and uses the IncomeTax function to calculate and display a person’s income tax. The page should have text boxes where the person’s income and itemized deductions are entered, and a button for initiating the calculation. When the button is clicked, a function should be called to access the income and itemized deduction amounts, call the IncomeTax function, and display the calculated tax in a page division.

Use your page to determine the amount a person would owe with:

income = 100000.00 itemized = 12017.50
income = 42500.00 itemized = 8900.99
income = 13267.45 itemized = 14000.00


```







Simple Taxes






Income: $
Deductions: $






Tax owed: $





------
income=100000.00, itemized=12017.50 11437.725 income=42500.00, itemized=8900.99 4367.871300000001 income=13267.45, itemized=14000.00 0
```

Computer Science & Information Technology

You might also like to view...

For effective RFI and EMI reduction in shielded twisted pair cables, the interval of twists or lay length in each pair should be different.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A comparison operator that searches for values within a range is:

a. AND b. Between . . . And c. OR

Computer Science & Information Technology

The Template ____ button toggles the template label visual aids on and off.

A. Editable Labels B. Editable Visual Aids C. Region Labels D. Region Visual Aids

Computer Science & Information Technology

Which of the following is NOT a recommendation for caring for videotapes?

a. Always fast-forward new tapes to the end and then rewind them to make sure that tape tension is even from beginning to end. b. Run your tape through the recorder once with the lens cap on and without audio input. c. Do not reuse 8 mm video cassettes, as their small size makes them susceptible to stretch. d. Always make a backup copy of these tapes before you begin editing. e. Never remove the break-off tab on the back of your original video cassettes; doing so renders the tape unusable with some decks.

Computer Science & Information Technology