Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.16 KB

README.md

File metadata and controls

27 lines (16 loc) · 1.16 KB

Password Generator

A simple web application that generates random passwords for enhanced security. This app allows users to create strong, randomized passwords with a single click, ensuring their online accounts remain safe from unauthorized access.

Features

  • Random Password Generation: Creates a password using a mix of uppercase and lowercase letters, numbers, and special characters.
  • User-Friendly Interface: Easy-to-use interface with a single button to generate passwords.
  • Stylish Display: The generated password is displayed in a styled box for easy copying.

Code Overview

HTML

The basic structure of the application is defined in the index.html file, which includes a button to generate passwords and a box to display them.

CSS

The style.css file contains styles for the password display box and other elements, ensuring a clean and modern look.

JavaScript

The core functionality is implemented in the script.js file, which includes:

  • An array of characters used for password generation.
  • A function to generate a random password.
  • Event listeners to handle button clicks and display the generated password.