Drum machine doesn't pass tests 5 and 6

I can trigger sounds by clicking the buttons and by using the keyboard so the tests should be passing. This looks like a common problem but most of the answers I’ve seen are specific to individual projects so I’m creating another post.



I was able to get it to work and pass the tests by adding a variable to hold document.getElementById() instead of using the audio inside of this.sounds{ }

1 Like

Thanks for the reply, unfortunately I’m not following you there. Where do you get “this.sounds{ }”?