JavaScript Keystroke Code Interpreter

There’s a few different web apps I’ve developed where I needed to use keyboard characters for shortcut keys or whatnot. I can never remember what the keystroke codes are, and I hate looking at great big charts. So I made the easiest tool in the world: type and see

Here’s the deal: Type in the input field and see the keycode above. That fade effect isn’t JavaScript. It’s a CSS fade-in animation I wrote a long time ago for my body copy to hide FOUC(ever notice when the page loads, the content fades in?).

There’s nothing fancy here; just seven lines of jQuery.