script.js
//function to copy text to clipboard
function to copy text to clipboard
function to copy text to clipboard
function copyText () {
    getPassword = textareaEl;
    getPassword.select();
    document.execCommand("copy");
  }
function copyText ( ) { getPassword = textareaEl ; getPassword . select ( ) ; document . execCommand ( "copy" ) ; }
function to copy text to clipboard
function to copy text to clipboard