Code Monkey home page Code Monkey logo

martincespedes / generate_random_password Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 40 KB

A random password generator app provides secure and unique passwords. By clicking the generate password button, the user is prompted for criteria such as password length, character types to include and the password is generated. The generated password is displayed in an alert or written to the page, ensuring a high level of security to the user.

Home Page: https://MartinCespedes.github.io/Generate_Random_Password/

HTML 14.92% JavaScript 49.79% CSS 35.29%
css html javascript password password-generator random-password-generator university-of-miami

generate_random_password's Introduction

Password Generator

Contents

Description

User Story

Acceptance Criteria

Installation

Usage

Features

Application Screenshot Preview

Resources & Credit

License

Description

When the user clicks a button to generate a password, they are presented with prompts for password criteria, such as length and character types. The input is validated and at least one character type must be selected. Once all prompts are answered, a password is generated that matches the selected criteria and is either displayed in an alert or written to the page. This feature improves security by providing employees with a strong and randomly generated password.

User Story

- AS AN employee with access to sensitive data
- I WANT to randomly generate a password that meets certain criteria
- SO THAT I can create a strong password that provides greater security

Acceptance Criteria

- GIVEN I need a new, secure password
- WHEN I click the button to generate a password
- THEN I am presented with a series of prompts for password criteria
- WHEN prompted for password criteria
- THEN I select which criteria to include in the password
- WHEN prompted for the length of the password
- THEN I choose a length of at least 8 characters and no more than 128 characters
- WHEN asked for character types to include in the password
- THEN I confirm whether or not to include lowercase, uppercase, numeric, and/or special characters
- WHEN I answer each prompt
- THEN my input should be validated and at least one character type should be selected
- WHEN all prompts are answered
- THEN a password is generated that matches the selected criteria
- WHEN the password is generated
- THEN the password is either displayed in an alert or written to the page

Installation

- To install and use the Password Generator application, follow these steps:

- Open the Live Link to App provided in the project description.

- Alternatively, you can clone this repository to your local machine using Git:

- git clone https://github.com/martincespedes/Generate_Random_Password.git

- Open the index.html file in your web browser to run the application.

Usage

- To use the Password Generator application, follow these steps:

- Click the "Generate Password" button on the main page.

- Follow the prompts to choose the length of the password and which types of characters to include.

- Once you have made your selections, a new password will be generated and displayed on the page.

- You can copy the password to your clipboard by clicking the "Copy to Clipboard" button

Features

- The Password Generator application includes the following features:

- User input validation to ensure the selected password length is between 8 and 128 characters.

- User input validation to ensure at least one character type is selected.

- The ability to generate passwords containing lowercase letters, uppercase letters, numbers, and special characters.

- A responsive and intuitive user interface.

- The ability to copy the generated password to the clipboard for easy use.

Application Screenshot Preview

Password Generator

Resources/Credit

License

License

Copyright (c) 2023 Martin Cespedes

This project is licensed under the terms of the MIT license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.