Tell us what’s happening:
I’m working on the Build a Drum Machine project.
My issue is that it wont play the audio clip again until the first instance ends.
I can play two different sounds over each other, but I’m unable to play the same sound over itself like in the example project. What modification do I need to make for it to work like that?
Your code so far
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36.
Challenge: Build a Drum Machine
Link to the challenge: