Instantly share code, notes, and snippets.

@jennz0r /index.html
Last active Jul 17, 2018

Embed
What would you like to do?
Button Click!
<html>
<body>
<button onclick="clicked()">Hello</button>
<script type="text/javascript" src="script.js"></script>
</body>
</html>
function clicked() {
alert("Hello!");
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment