Coder Social home page Coder Social logo

password-generator's Introduction

Password Generator

A simple password generator with prompts.

screenshot of application Click here for the live website.

For this assignment, the class was given some basic HTML, CSS, and Javascript to work with. The generator was not operational, and there were no prompts to guide the user. The criteria we were given was:

  • A randomized password must be generated based on the user's preferences.
  • The user must be given a series of prompts to create a password based on character length and whether or not they wish to use lowercase, uppercase, numeric, or special characters.
  • The prompts would have validation to make sure the user selects at least one character type.
  • The prompts would also not allow the user to select a character length outside of 8-128.
  • The generated password would be either written to the page, or appear in an alert.
  • The app needed to be hosted by Github Pages and live.

Using prompts, alerts, while loops, and a for loop, I was able to piece together this app. I learned about prompts and how they can be saved to a variable that is usable throughout a program. The loops gave me the most trouble, as their functionality often produced unexpected results, but I figured it out. Now that this is complete, I feel more confident in using both for and while loops. I look forward to finding more uses for them in the future.

password-generator's People

Contributors

sorengrey avatar

Watchers

 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.