js/Generator.js
// Function to generate randomizes word content
Function to generate randomizes word content
Function to generate randomizes word content
function PwGen() {
    let pwElem =
        '!@#$%^&_*&+1234567890-ABCDEFGHIJ~KLMNOPQRSTU`VWXYZ*abcdefg&hijklmnopqrstuwxyz'
    let newPw = ''
    for (var i = 0; i < 15; i++)
        newPw += pwElem.charAt(Math.floor(Math.random() * pwElem.length))
    document.getElementById('passwordSection').innerHTML = newPw
}
function PwGen ( ) { let pwElem = '!@#$%^&_*&+1234567890-ABCDEFGHIJ~KLMNOPQRSTU`VWXYZ*abcdefg&hijklmnopqrstuwxyz' let newPw = '' for ( var i = 0 ; i < 15 ; i ++ ) newPw += pwElem . charAt ( Math . floor ( Math . random ( ) * pwElem . length ) ) document . getElementById ( 'passwordSection' ) . innerHTML = newPw }
Function to generate randomizes word content
Function to generate randomizes word content
// Password content // Button selector for password generator