Skip to content

This JavaScript code generates a random password based on selected options like lowercase, uppercase, numbers, and symbols. It also includes a feature to copy the generated password to the clipboard using a button.

Notifications You must be signed in to change notification settings

Muzammil-Ansari-17/Password-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” JavaScript Password Generator

A simple, customizable password generator built using vanilla JavaScript. It allows users to create strong, random passwords with options to include lowercase letters, uppercase letters, numbers, and special characters. Users can also copy the generated password to the clipboard.

πŸ“Œ Features

  • Select character types: lowercase, uppercase, numbers, symbols
  • Customizable password length
  • One-click password generation
  • Copy to clipboard functionality

πŸ› οΈ Technologies Used

  • HTML
  • CSS
  • JavaScript

πŸš€ How to Use

  1. Clone or download this repository.
  2. Open index.html in your browser.
  3. Select the desired character types.
  4. Set the password length.
  5. Click Generate to create a password.
  6. Click Copy to copy it to your clipboard.

πŸ“„ Example

// Generate password based on selected options
document.getElementById("generate").onclick = function passwordgenerator() {
    ...
};

About

This JavaScript code generates a random password based on selected options like lowercase, uppercase, numbers, and symbols. It also includes a feature to copy the generated password to the clipboard using a button.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published