Skip to content

An application that enables employees to generate random passwords based on the criteria that they've selected.

Notifications You must be signed in to change notification settings

karimi65/password-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Password Generator (using java script)

Acceptance Criteria

  • When the user clicks on the button to generate a random password, a series of prompts should be answered and choose by the user, such as:
    • Selecting character types (uppercases, lowercases, numbers, and/ symbols)
    • Length of password
  • The user should choose at least one character type
  • Inputs should be valid
    • Only numbers are accepted
    • Input should be a number between 8 and 128
    • No string/NaN

Steps:

  • By clicking on the "Generate Password" button, prompts will be shown:

The Password Generator application displays a red button to "Generate Password".

  • Prompt for insert a number between 8 and 128 for the length of password:

Prompt for Enter a Number.

  • If user insert a number less than 8 or greater than 128, an alert will be shown and then prompt coming to ask for entering a number between 8 and 128:

Alert

also, if user insert nothing or strings, the process will not continue.

  • Whenever a number between 8 and 128 is inserted, user will be asked to choose character types:

Prompt for Lowercase

Prompt for Uppercase

Prompt for Numbers

Prompt for Symbols

  • User should choose at least one character type. If user does not select any character types, an alert will be shown and then prompts coming to ask for choosing character types:

Alert for Choosing criteria

  • Based on the length of the password and character types chosen by the user, a random password will be shown inside the dashed box. for example: 14 characters with 4 different criteria (Lowercases, Uppercases, Numbers and Symbols)

Random Password

Here is a link to deployed website:

Deployed website for Password Generator

About

An application that enables employees to generate random passwords based on the criteria that they've selected.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published