urgh
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user