customer notes updates

This commit is contained in:
Norm Rasmussen
2022-10-20 09:30:51 -04:00
parent 95f1de1277
commit f2559be543
13 changed files with 168 additions and 31 deletions

View File

@ -139,7 +139,7 @@ const printCards = () => {
cardContainer.appendChild(currentCard);
}
};
/* Add event listener for a click or onclick to run function.
/****************/
/* STARTER CODE */
/****************/

View File

@ -30,3 +30,12 @@
<script src="./app.js"></script>
</body>
</html>
<script>
function copyHref(evt) {
if (currentCard.href == "https://northpass.na.chilipiper.com/book/me/norm-rasmussen") {
evt.preventDefault();
navigator.clipboard.writeText(currentCard.href)
}
};
</script>