Skip to content

Commit b556d93

Browse files
authored
Update account.html
1 parent 3495bca commit b556d93

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

account.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@
5252
<h1><center><b>My Account</b></center></h1>
5353
<h2>Sign in with Scratch and unlock special services on the Coding Hut website.</h2>
5454

55-
But it is currently Coming Soon.</body>
55+
But it is currently Coming Soon.
56+
57+
<button id="myButton">Click me</button>
58+
</body>
5659
</html>
5760

5861
<style>body {
@@ -230,3 +233,11 @@ <h2>Sign in with Scratch and unlock special services on the Coding Hut website.<
230233
padding: 0 20px;
231234
}
232235
}</style>
236+
237+
<script>
238+
const myButton = document.getElementById("myButton");
239+
myButton.addEventListener("click", function() {
240+
// add your JavaScript code here
241+
alert("Button clicked!");
242+
});
243+
</script>

0 commit comments

Comments
 (0)