For our second example, we. Try typing into the textbox below. You will receive an alert telling you the keycode and the character corresponding to the key you pressed.