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 2
Part 1-Folder Structure:
Inside of the CGS2820folder, create a folder named JavaScript_Assignment2.Inside of the JavaScript_Assignment2folder create a folder named css.This is where you will put your external style sheet. Inside of the JavaScript_Assignment2folder, create another folder named js.This is where you will put your JavaScript code.
Part 2-Program description:
File: payroll.html
(to be placed in the main JavaScript_Assignment2folder)
Create a well-styled 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 ID,employee 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 40hours and overtime rate is 1.5times 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 (20%of weekly pay),and 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 button),the total amount of money disbursed should be displayed in its own paragraph in the results area below the list of employees. Error checking and form-handling 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 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

Students Have Also Explored These Related Programming Questions!