You need to remove the event.keyCode because it's Deprecated
Opened this issue · 1 comments
Deleted user commented
Hi,
You use event.keyCode
four times and you should replace it with the event.key
instead.
Deprecated: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
Change to this: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key