Output QR Code tag with an id of "qrImage" is required in the HTML for this to work --> const qrImageEl = document.getElementById("qrImage") function createCurrentURL() const currentLocation = window.location.href; const urlSafeLocation = encodeURI(currentLocation)