Question: Please help me with this HTML program. We are using PHP and AJAX. You don't need to copy the rubric into the program, just make

Please help me with this HTML program. We are using PHP and AJAX. You don't need to copy the rubric into the program, just make sure that the tasks in the rubric are complete. Please post all files that contain code. Thank You!

Please help me with this HTML program. We are using PHP and

AJAX. You don't need to copy the rubric into the program, just

[-] Program 2: Unlock Accounts (35 pts) 1. Within your "final" folder, create a program called "program2.php" 2. This program must list all of the accounts that are currently locked, in other words, those records in which the value of the "failedAttempts" field is 3 (or higher). The number of failed attempts must also be displayed. Initially, there are just two locked accounts: Username Failed Attempts Action 3 Unlock opez mgriffin 3 Unlock 3. Upon clicking on any of the Unlock buttons, an AJAX function must be triggered. This function must reset the "failedAttempts" field back to 0. 4. The AJAX function must also update the display, informing about the changes done. For instance, if the account "jlopez" was unlocked, the table should now display: Username Failed Attempts Action jlopez mgriffin Account Successfully Unlocked Unlock 0 3 Once you finish, come back here and click on the "Copy Rubric" button below. Then press CTRL+C to copy the rubric HTML code into the clipboard. Paste it at the bottom of your program and update the background color of the items you've completed. If you're unsure about an item, use white background. Copy Rubric Task Description Points The list of locked accounts is properly displayed, including the username and failed attempts 1 7 When clicking on any of the "unlocked" buttons a JavaScript function is executed 2 3 When clicking on the "unlocked" button, the AJAX function updates the value of the failedAtttempts field back to 0 3 15 [-] Program 2: Unlock Accounts (35 pts) 1. Within your "final" folder, create a program called "program2.php" 2. This program must list all of the accounts that are currently locked, in other words, those records in which the value of the "failedAttempts" field is 3 (or higher). The number of failed attempts must also be displayed. Initially, there are just two locked accounts: Username Failed Attempts Action 3 Unlock opez mgriffin 3 Unlock 3. Upon clicking on any of the Unlock buttons, an AJAX function must be triggered. This function must reset the "failedAttempts" field back to 0. 4. The AJAX function must also update the display, informing about the changes done. For instance, if the account "jlopez" was unlocked, the table should now display: Username Failed Attempts Action jlopez mgriffin Account Successfully Unlocked Unlock 0 3 Once you finish, come back here and click on the "Copy Rubric" button below. Then press CTRL+C to copy the rubric HTML code into the clipboard. Paste it at the bottom of your program and update the background color of the items you've completed. If you're unsure about an item, use white background. Copy Rubric Task Description Points The list of locked accounts is properly displayed, including the username and failed attempts 1 7 When clicking on any of the "unlocked" buttons a JavaScript function is executed 2 3 When clicking on the "unlocked" button, the AJAX function updates the value of the failedAtttempts field back to 0 3 15

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!