Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!doctype html>
<html>
<head>
</head>
<body>
<center>
<h1>0</h1>
<button type="button" onclick="buttonpressed()">Click Me!</button>
</center>
<script>
function buttonpressed() {
alert("Button pressed!");
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.