Below is the HTML Structure of the Demo.
For Arrow Key Up , keycode is 38 and Arrow Key Down , keycode is 40.
By using this on keydown, we will check the pressed key keycode is from the above code,
if yes, then do the something.. In our case, we want to select the list values.. technically we need to add bgcolor to list value..
Check Here for the code