Skip to content

Latest commit

 

History

History
 
 

Password-Generator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

💥 Password Generator 💥

Tech Stack Used 🎮

HTML5 CSS3

JavaScript

Line

⚡ Description 📃

HTML (index.html)

The HTML file defines the structure of a webpage.

It includes a title, a link to an external CSS file for styling, and a body containing a container div.

Inside the container div, there's an heading for the title, a paragraph for displaying the generated password, and a button triggering the password generation.

CSS (style.css)

The CSS file styles the HTML elements to enhance the visual presentation of the webpage.

It centers the content on the page and gives a basic style to the button.

JavaScript (script.js)

The JavaScript file contains a function named generatePassword.

This function is called when the "Generate Password" button is clicked.

It generates a random password of a specified length (default is 12 characters) using a set of characters including uppercase and lowercase letters, digits, and special symbols.

The generated password is then displayed in the HTML paragraph element.

Overall Description

The webpage provides a simple user interface with a title, a display area for the generated password, and a button to trigger password generation. Users can click the "Generate Password" button to get a random password displayed on the webpage. The styling is kept minimal, and you can customize it further based on your design preferences. The JavaScript code handles the logic of generating random passwords.

⚡ How to run it? 🕹️

Open index.html in a Browser:

Right-click on the index.html file. Select "Open with" and choose a web browser (e.g., Google Chrome, Mozilla Firefox, Safari). View the Webpage:

The webpage should open in your selected browser. You will see the "Random Password Generator" title, a paragraph indicating the generated password, and a button labeled "Generate Password." Generate Password:

Click the "Generate Password" button, and you should see a randomly generated password displayed in the paragraph below.

⚡ Screenshots 📸

screenshot

Line

Developed By MITALI RAJ 👦

Happy Coding 🧑‍💻

Show some  ❤️  by  🌟  this repository!