Question: I need help with this Assignment: Programming Assignment 2 Part 1 - Folder Structure: Inside of the CGS 2 8 2 0 folder , create
I need help with this Assignment:
Programming Assignment
Part Folder Structure:
Inside of the CGSfolder create a folder named JavaScriptAssignmentInside of the JavaScriptAssignmentfolder create a folder named cssThis is where you will put your external style sheet. Inside of the JavaScriptAssignmentfolder create another folder named jsThis is where you will put your JavaScript code.
Part Program description:
File: payroll.html
to be placed in the main JavaScriptAssignmentfolder
Create a wellstyled HTML document like the bill.html document. The document will contain a form that will allow a user to enter payroll information about an employee. The information should be: employee IDemployee name, hours worked, rate of pay. Put appropriate headings and labels in the document. When viewed in the browser, the form should float on the left and the payroll area for all employees should float on the right. The document will link to a JavaScript file called payroll.js described below. File: payroll.js to be placed in the js folder
Create a JavaScript file that will mimic the logic in bill.js in order to process the data entered in the form and place the results in the results area of the payroll.html document. The code should determine the weekly pay for each employee entered in the form including any overtime. Overtime cutoff is hours and overtime rate is times regular pay.The code should create paragraphs containing the name and ID of the employee, the number of regular hours worked, the number of overtime hours worked, weekly pay, income tax of weekly payand net pay. Each item in each paragraph should be on a separate line. All money should be expressed as dollars with two decimal places. Hours should have one decimal place. The program should keep track of the total net pay which represents the amount of money paid out by the company. After all employee data has been entered signaled by the user clicking the total buttonthe total amount of money disbursed should be displayed in its own paragraph in the results area below the list of employees. Error checking and formhandling logic should mirror that in bill.js
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
