script.js
// Write password to the #password input

Write password to the #password input
Write password to the #password input
function writePassword() {
    var password = constructPassword();
    var passwordText = document.querySelector("#password");
    passwordText.value = password;
}
function writePassword ( ) { var password = constructPassword ( ) ; var passwordText = document . querySelector ( "#password" ) ; passwordText . value = password ; }
Write password to the #password input
Write password to the #password input