Skip to content

By clicking the button program generates two passwords. Both passwords are made of randomly selected characters. Characters are taken from the defined array

Notifications You must be signed in to change notification settings

agn-wita/password-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

password-generator

After clicking the button program generates two passwords. Both passwords are made of randomly selected characters. Characters are taken from the defined array

HTML

title, subtitle, button with CTA, 2 fields with randomly generated passwords

JAVASCRIPT

  • constat array with different characters to select by the program
  • click function to run the program after interaction with button
  • Math.random to generate characters
  • Math.floor
  • loop for to run the code 15 times

Stage of the project: completed

Please note that this project is based on tutorial but the code was not copied. Every line of code was written by me according to my invention and with deep understanding of the issues.