Giter Site home page Giter Site logo

antonio36alv / password-generator Goto Github PK

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

A password generator that takes in a users password criteria (length, uppercase, symbols, etc.) and creates a password for them.

Home Page: https://antonio36alv.github.io/Password-Generator/

HTML 26.48% JavaScript 41.55% CSS 31.97%

password-generator's Introduction

Password-Generator

Badge

Password Generator - Deployed

My GitHub

Project Description


I was given html and css without any functionality. I was to provide the solution for creating a password generator. There was also some javascript that was provided. When the generate button was clicked, my job was to then prompt the user what kind of characters they wanted for their password (uppercase, lowercase, numeric, and symbols) and what the length of the password should be (between 8-128). Character specification is done through checkboxes and character length is done through a textbox that also has values listed. The application ensures that the user check at least one check box. It also checks to see that the user either has picked/typed a character length and that it is one that falls between 8-128. This is all done through a div that appears when the generate button is clicked.

Link to Demo Video

Steps taken in the video

  1. Clicked the generate button

  2. The Div, that is responsible for having the user enter their criteria, has appeared.

  3. Proof of validation.

    1. Did not select any boxes or enter a length - result: text appears at the bottom stating no boxes where checked
    2. Checked a box but did not select/type a length - result: text appears at the bottomm stating there was a problem with the character lenght
    3. Checked a box but selected/typed a length under 8 - result: text appears at the bottomm stating the same issue as before, since there was no reason for it to change.
  4. Criteria is entered correctly and the numeric checkbox was entered. The criteria div has gone away and we are presented with a randomly generated password.

  5. Generate password is pressed again and so again the criteria div appears again. The uppercase and lowercase checkboxes are then selected (in addition to the already checked numeric checkbox). The done button is pressed and another password is generated, but this time with the added criteria of characters.

  6. Once again the generated password button is clicked. The criteria div is once again presented. The reset button is clicked in order to demonstrate that it clears all input/activity on the form.

  7. Not demonstrated - The criteria div has an X button, that closes the div at anytime.

Screenshots


Original Demo

Original Demo

After Pressing the Generate Button

After Generate

Validation

Validation

Test Criteria/Validation

Result/Generated Password

Result

password-generator's People

Contributors

antonio36alv avatar

Watchers

James Cloos avatar

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.