Calculate Total Pay Due

You need to write the HTML5 and JavaScript to solve this problem.
First you should have a form that contains text boxes to show emp idno, pay per hour, regular hours and overtime hours for your 3 employees.
Each employee should have a line with the four text boxes for that employee.
The second employee should be underneath the first and the third underneath the second.
For each employee calculate their pay with time and a half for overtime hours.
Then add up the pay for each employee and in a text box below enter in that total pay. Essentially it is the amount you are going to be paying out that week.
You should have two buttons, one to calculate and the other to clear out the text boxes.
Each button should perform a function. The one that calculates the total pay should return that amount and have it put into the total pay text box.