Question: JavaScript 1. Password Submit passwd.html and external JavaScript code passwdScript.js Write a while loop to be used to test a password. The password is secret
JavaScript
1. Password
Submit passwd.html and external JavaScript code passwdScript.js
Write a while loop to be used to test a password. The password is "secret" and the code within the loop is executed until the user inputs the correct password.
Tip: Use the prompt() function to accept user password
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
