Question: HELLO! This is for my Intro to Linux class. We are using BASH and learning HTML and CGI using Vi editor. Thank you for the

HELLO! This is for my Intro to Linux class. We are using BASH and learning HTML and CGI using Vi editor. Thank you for the help!

STAGE 1 | HTML & JavaScript

Remember that all of your web pages must be saved inside of your public_html directory so be sure to change directories to this directory before continuing. Once you are inside of your public_html directory, create a new page called GrossPay.html and add the following:

Page title should be Gross Pay

Gross Pay Calculator as Heading 1

Three textBoxes (hours Worked, Hourly Rate, Gross Pay)

Calculate Button

Criteria

Use

to organize the components

When page is loaded, a JavaScript function should generate the following:

Hours Worked(integer) between 20 and 50 (inclusive)

Hourly Rate(Floating Point) between 10.00 and 20.00 (inclusive). Displayed with two decimal places.

When Calculate Gross Pay button is clicked, a JavaScript function should calculate and display the Gross pay(two decimal places). Over time(over 40 hours) is paid hour and half.

Sample page follows:

HELLO! This is for my Intro to Linux class. We are using

D Gross Pay C file:///C./Users/Bahram/Google%20Drive/CIT #e Gross Pay Calculator Hours Worked: 31 Hourly Rate: 12.92 Gross Pay: 400.58 Calculate Gross Pay

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 Databases Questions!