Question: Create a library file named income.js that contains the definition of the IncomeTax function from Figure 9.10. Then, create a Web page named taxes.html that

Create a library file named income.js that contains the definition of the IncomeTax function from Figure 9.10. 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

Step by Step Solution

3.32 Rating (161 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

1409-C-S-O-S(1017).docx

120 KBs Word File

Students Have Also Explored These Related Operating System Questions!