How to Create a Random Password Generator

Published on: July 2, 2017

Welcome to the 54th Easy JavaScript tutorial, part of EasyProgramming.net.

In this tutorial, we'll create a random password generator. 

We'll be using a lot of things that we've already learned including String methods, for loop, ternary operator, event listeners, random number generator, and functions.

A random password generator normally asks you for the number of characters and whether or not you want numbers and/or symbols.

To fork the fiddle and follow along: https://jsfiddle.net/easyjs/ex19kxwc/

 

Remember to checkout the Resources section below for associated downloadable content, JSFiddle links, and other resources. Watch the video and follow along!

Resources:



Comments: