Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
body {
background: #222;
text-align: center;
input {
font-size: 1.5em;
width: 20em;
margin-top: 2em;
<input type="text" onkeypress="alert('Key Pressed!');" autofocus>
// alert('Hello world!');
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.