This commit is contained in:
2025-12-05 23:56:58 +01:00
parent 7b03494e8b
commit 9e4d2a426f
2 changed files with 32 additions and 21 deletions

View File

@@ -23,12 +23,17 @@
<body>
<main>
<h1>Payment page</h1>
<input id="amount-input" placeholder="Amount">
<button>Pay</button>
</main>
<script>
let btn = document.getElementById("btn-back");
console.log("Clicked");
btn.addEventListener("click", () => {
console.log("Clicked");
window.location.href = "/";
});
</script>
</body>