password generator
by jasonvee
JavaScript
//arrays
var adjectives = ['happy', 'dark', 'dizzy', 'ghastly', 'crazy', 'blue','shiny'];
var nouns = ['camel', 'apricot', 'light', 'bones', 'monkey', 'piano', 'star'];
var numbers = ['79', '13', '46', '62', '82', '26', '97'];
//random number
var adjRand = Math.floor(Math.random()*7);
var nounsRand = Math.floor(Math.random()*7);
var numbersRand = Math.floor(Math.random()*7);
//output password
document.write('PASSWORD GENERATOR:' + '<br>');
document.write(adjectives[adjRand] + nouns[nounsRand] + numbers[numbersRand]);