We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4cd49c commit 5e50d89Copy full SHA for 5e50d89
1 file changed
01 - JavaScript Drum Kit/index-START.html
@@ -65,6 +65,8 @@
65
sound.getAttribute("data-key")
66
);
67
68
+ document.addEventListener('keyup', pressButton, false);
69
+
70
function pressButton(keyEvent) {
71
const keyCode = keyEvent.keyCode;
72
const selectedAudio = allSounds.find((key) => {
0 commit comments