Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Mod 3 Assignment For this assignment, a mom and pop business contacted you. They would like for you to create a way for them to

Mod 3 Assignment For this assignment, a mom and pop business contacted you. They would like for you to create a way for them to automate how much they pay their three employees. They want to enter the employees name, hours worked, and their hourly rate then receive a print out with the employees name hourly rate, hours worked and total pay.

Assignment Specifics

1. Create a new HTML document named Mod3_MOD.html

2. Reference the external cascading style sheet you created during mod 2.

3. Include at least four meaningful comments throughout your JavaScript code. For example: //Assign the user input to the name string.

4. Enter JavaScript Page for the title.

5. Add your JavaScript inside the head element and should include the following

a. Add Heading 1 text at the top make up a business name or use the one I did.

b. Declare variables.

c. Create a while loop, so a user can only enter three employees.

d. Prompt the user for i. Employee Name ii. Hours worked iii. Hourly wage

e. Determine if the employee worked more than 40 hours and if so they receive time and a half for those hours. For example, if Tom worked 40 hours and earned $10 per hour his pay would be $400. If he worked 50 hours, he would make $400 for his regular 40 hours and then $150 for his 10 hours over time.

f. For each employee print out their name, pay per hour, total hours worked and total pay. Use the heading. See example below.

Name: Tom Smith

Pay per Hour: 10

Total Hours Worked: 40

Total Pay: $400

6. Add the following to the body of the document a. A horizontal rule b. Links to each of the other pages. 7. Add a link to this page on the Home, Mod2, and Mod3 pages

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

What distinguishes noncurrent assets from current assets?

Answered: 1 week ago