script.js
/* DO NOT CHANGE THIS CODE!  This function is going to call your generatePassword() function and whatever is returned from that function will be put onto the page */
DO NOT CHANGE THIS CODE.  This function is going to call your generatePassword() function and whatever is returned from that function will be put onto the page
DO NOT CHANGE THIS CODE . This function is going to call your generatePassword () function and whatever is returned from that function will be put onto the page
function writePassword() {
  var password = generatePassword();
  console.log(password)
  if (password) {
  var passwordText = document.querySelector("#password");
  passwordText.value = password;
  }
}
function writePassword ( ) { var password = generatePassword ( ) ; console . log ( password ) if ( password ) { var passwordText = document . querySelector ( "#password" ) ; passwordText . value = password ; } }
DO NOT CHANGE THIS CODE!
DO NOT CHANGE THIS CODE!