Given UI for Password Generator application, we need to create JavaScript functions for full proper functiong of this application.
-
Created a 'generatepassword' function.
-
Created set of prompts for gathering user input.
-
Validated the criteria for password length.
-
If none of the conditions are met the user is alerted and 'generatepassword' function is executed again.
-
The logic for password generation is written by defining variables for all possible characters and bringing the values.
-
Password is generated using Math.random function and logics.
