Cant pass Drum machine challenge

Hi, kindly help me figure out why I cant pass the drum machine challenge. From my end I can press the button and this triggers specific sound and text display but I dont understand why I am unable to pass challenge 6. Here is my code

When I load it up, it doesnt work when I press the correlating buttons on my keyboard, which is what test 6 wants. You seem to only have the buttons working when directly pressed with the mouse. Hard to help you beyond that without just coding it for you, but im sure you can figure it out :slight_smile:

1 Like

Thanks @Zie62 for clarifying. It was not clear that it should be the keyboard keys. I will try to figure it out.

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