Password Generator

Lots of passwords

Let’s allow the user to create 3 passwords at once.

  • Add this code to create 3 passwords:

    screenshot

  • Highlight the code for creating a password, and press tab to indent so that it repeats 3 times.

    screenshot

  • Test your new code. You should now see 3 passwords of your chosen password length.

    screenshot