iv built a very basic drum machine and have completed all but 1 off the “user story’s”. i’m unsure what i need to do to fix the problem as the code seem to all work functionally.
You can click on the “Tests” red button to see the test it’s failing, which is:
## 6. When I press the trigger key associated with each .drum-pad, the audio clip contained in its child <audio> element should be triggered (e.g. pressing the Q key should trigger the drum pad which contains the string "Q", pressing the W key should trigger the drum pad which contains the string "W", etc.).
And I just tried pressing keys (at least Q) and heard nothing … so look into that.
Your machine is supposed to process the keys from the keyboard as well as a mouse click. Right now your code only processes the mouse click – a user cannot just use the keyboard keys q/w/e etc. to trigger sound.