Skip to content

Showcasing the carbon design system with functions

License

Notifications You must be signed in to change notification settings

VividVenturesLLC/random-password-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Password Generator

Showcasing the Carbon Design System

This app generates a password once the user clicks the generate button. There are options to increase the quantity of special characters and the total length of the password.

Screenshot

screenshot.png

Enjoy the live demo!


Usage

Click here jsdelivr badge to see versions served by jsdelivr code deployment network (CDN).

<html>
    <head>
        ...
        <!-- get the latest from the develop branch -->
        <script src="https://cdn.jsdelivr.net/gh/VividVenturesLLC/random-password-generator@develop/assets/js/random-password-generator.js"></script>
        ...
    </head>
    ...

in your code

// javascript
rpg.generatepass( passwordLength,numberOfSpecialCharacters )
rpg.generatepass( 10,3 )
// OR
RandomPasswordGenerator.generatepass( 10,3 )
// returns:
//     a ten character password with three special characters, ie
//    "%3zDd!%ZMd" excluding the quotes ""

Also in the example app you can check the console log in your developer tools for usage messages.


Contribute

See CONTRIBUTING.md

About

Showcasing the carbon design system with functions

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published