Closed vegetabill closed 3 years ago
The long if statements in this function are very repetitive. Please come up with a better way with less duplication to have this functionality work, such as a lookup object or something else of your own choosing.
https://github.com/Techtonica/keyboard-shortcuts-practice/blob/1a642f3ce4a136ec3b325beec781f4ab97b18935/public/scripts/main.js#L143-L168
Hi! I would love to work on this!
Assigned!
@nadyafebi thanks for fixing this!
The long if statements in this function are very repetitive. Please come up with a better way with less duplication to have this functionality work, such as a lookup object or something else of your own choosing.
https://github.com/Techtonica/keyboard-shortcuts-practice/blob/1a642f3ce4a136ec3b325beec781f4ab97b18935/public/scripts/main.js#L143-L168