In this project I've developed a password generator that starts once the "generate password" button is clicked and takes the user through a series of prompts.
The user must first select the amount of characters they would like to include, between 8 and 128 characters. If the user inputs a # of characters that is less than 8 they are instructed to choose a number equal or greater than 8; if they choose a value greater than 128, they are instructed to choose a value that is equal to or less than 128.
Next the user is led through a series of prompts, asking to confirm if they would like to include four character types: special, numeric, lowercase, and uppercase. The user must select at least one of these character types, and if they do not do so, they are instructed to please choose at least one and led through the options of character types again.
Finally a password is generated for the user to use that complies with their inputs.
https://rsg71.github.io/Password-Generator-Robert-Greenawalt/
- HTML
- CSS
- Javascript
Robert Greenawalt (robert.greenawalt29@gmail.com)
MIT License
Copyright (c) 2020 Robert Greenawalt
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.