Javascript KeyBoard Events:

This is an example of a JS event; click into the input area and press the arrow keys to test it out,

Option 1: onkeydown: change to black

Option 2: onkeyup: back to original colour