function writePassword() {
  
  const finalPassword = generatePassword();

  var passwordText = document.querySelector("#password");

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