The function of this page is to generate a random password using different types of characters. The user clicks on the "generate password" button and then is prompted to choose their desired length of the password. The user is then met with a series of questions about what characters they would like in their password such as lowercase letters, uppercase letters, numbers, and symbols. After the user has confirmed their desired characters, a random password is generated in the textbox.
- Added variables for upper and lowercase letters, numbers, and symbols.
- Added another function with a generatePassword method.
- Added empty variables for the arrays and random generated password.
- Added the initial prompt following a "if" statement within the generatePassword() function.
- Added confirms for all possible character options along with a corresponding "if" statement for each the confirms. (all within the generatePassword() function).
- Added concat methods to each of the confirm "if" statements so that the different characters within each array could combine together.
- Added a for loop and return within the generatePassword() function to generate random characters for the password.
- Added notes to the code.
