Drum Machine - Test #6 Wrongfully Fails

Here’s my pen so far: https://codepen.io/GiaFil/pen/rZQypK

So, I’m failing this test:

When I press the trigger key associated with each .drum-pad, the audio clip contained in its child

However, when I press the keys on my keyboard the correct sound plays… Is there any mistakes in my code or is this a bug of the tests?

EDIT: Also, (maybe unrelated but may be causing the problem) I get this error from flexboxgrid : “Uncaught SyntaxError: Unexpected token .”

1 Like

Found the issue: the tests test for the CAPITAL letters not just pressing the key (when event.key is used). Also the test fails when I use the keyCodes as well.

1 Like