keypress vs keydown vs keyup code example
Example: what is keyup and keydown
Keydown and keyup. The keydown events happens when a key is pressed down, and then keyup – when it's released
Keydown and keyup. The keydown events happens when a key is pressed down, and then keyup – when it's released