Help with drums machine

Hello there!

I’m at the Drum Machine challenge, and I’m probably missing something with this code, but it works alright (even with a lot of bad practices). If someone can help me understand why test 6 isn’t passing, i would be grateful;

You can check my code at CodePen: https://codepen.io/ironprog/details/WNMJzdB

If I press the q key then the sound plays. Now try it with Shift + q. Ya, I know, I would only think to use lowercase letters and would never hold down the Shift key to play a sound. But the tests are looking for capital letters as well.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.