Please note upon the completion of each part create a link thatwill take me to a new page from A, B and C for i.e. go to part etc.In other word please submit only 1 link which should be Part A. (Part A should be the main page then 2 additional links 1 forpart B and 1 for part C) As usual, place this project into a separate page that is linkedto from a “Homework” area of your home. Part A) Create a web page that uses JavaScript to print a payroll reportfor a company that has a few employees, all earning the same hourlywage: $15 per hour for up to 40 hours per week. If the employeeworked more than 40 hours, the hours in excess of 40 are paid atone and a half times this rate. The user enters the (integer) number of hours worked in the weekfor each employee in a pop-up box. Use an open-ended loop so thatthe number of employees can vary. Have the user enter a negativenumber such as -1 to indicate that there are no more employees toenter. (The program should do something reasonable if the userenters -1 as the first value.) The program prints, as web page contents, a table containingthree columns. The first column is simply an index that increasesfrom 1 up to the number of employees processed. The second columnis the number of hours worked, entered by the user. The thirdcolumn is the employee’s pay for the week. After the table, pleaseprint out a summary line giving the total pay of all theemployees. The output does not need to be fancy, but correct and readable.The table columns should have headings identifying them, and thetotal pay should a suitable label. Place the JavaScript code into an external file, referenced bythe src attribute of the tag. Part B) Implement your own version that is is different frommine if I discover that you took my code you will earn F++ for theentire homework Create a web page to play a simple guessing game. To start thegame, the program picks a secret number randomly between 1 and 100.The page contains a text box in which the player enters a number,and a button labeled Guess. When the player clicks on the Guessbutton, the program reports whether the guess is high, low, orequal to the secret number. If it is high or low, the player istold to guess again. If it is equal to the secret number, the gameends and a new game is started, with a new secret number. Implementa clock time along with a sound and sound effects within the gameplay Write the JavaScript in an external file, and must use properevent-driven style if possible. The reports to the player are to bedone by modifying the content of an element (such as a paragraph ordiv) in the page. Do not use the document.writemethod. Add a guess limit. If the player uses up themaximum number of guesses, the page reports that the player haslost then reports what the secret number was, and starts a newgame. The number of guesses left should be reported to the playeron each round. Enjoy!!!!!! Please be creative and extra points willbe awarded to all whom displayed creativity along with a great CSSlayout. (See slide JavaScript presentationposted on ICollege for the help.) Part C) Instructions: Create a table that will store a total of 8, 10,12 pictures that are of pairs (2 of each). Please allow user toselect their choice. All pictures should be distributed randomly for each start ofgame. You are given 3 levels of difficulty 3, 5, 8 seconds tomemorize the locations, after then the pictures will be hidden. Your goal is to match each of the 8 pictures with its copy,Click the two matching images to reveal them. Please wait forimages to disappear, and then allow the user to make the nextattempt. Game should be timed for both solving of the puzzle show sometime of java script animation award and time frame allowed whichshould be set at 120 seconds for 8 photos, 150 seconds for 10photos, and 180 seconds for 12 photos. Please provide user with guidelines on how to play game and havea ready or start button to proceed. Sample layout for layout of 8 photos inpairs Sample of game play Click the button when ready to play or restart a newgame. READY . . .
#Sales Offer!| Get upto 25% Off: