File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 44 <!-- Meta -->
55 < meta charset ="UTF-8 " />
66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7- < title > Give The Password | Patriarxis</ title >
7+ < title > Cipher - Password Generator | Patriarxis</ title >
88
99 <!-- Google Fonts -->
1010 < link rel ="preconnect " href ="https://fonts.googleapis.com " />
Original file line number Diff line number Diff line change 22 <main class =" main" >
33 <section class =" container" >
44 <header class =" header" >
5- <h1 >Give the password</h1 >
6- <p >Lorem ipsum dolor sit amet.</p >
5+ <h1 >Cipher - Password Generator</h1 >
6+ <p >
7+ Cipher is a secure, client-side password generator. No data is stored
8+ or sent—everything happens in your browser.
9+ </p >
710 </header >
811
912 <GeneratedPassword
@@ -84,12 +87,10 @@ const generatePassword = () => {
8487 return ;
8588 }
8689
87- // Fill remaining length with random characters
8890 for (let i = newPassword .length ; i < length .value ; i++ ) {
8991 newPassword += getRandomChar (charset);
9092 }
9193
92- // Shuffle the password
9394 password .value = newPassword
9495 .split (" " )
9596 .sort (() => 0.5 - Math .random ())
@@ -124,6 +125,7 @@ const copyToClipboard = () => {
124125 flex-direction : column ;
125126 width : 100% ;
126127 padding : 2rem ;
128+ gap : .5rem ;
127129}
128130
129131.generated-password-button {
You can’t perform that action at this time.
0 commit comments