OnClick Alert JavaScript

<button id="btn">Click me!</button>
<script>
	document.getElementById("btn").addEventListener("click", function() {
		window.alert("You clicked me!");
	});
</script>
MattDESTROYER