So I’m build a drum machine as you can see from my code below I’m almost done however I’m trying to add an effet (pushed down ) on my keys, on my react code with either the mouse or with keyboard, but nothing happens except for the sound that comes out, it would seem that I’m missing something. If you could take a look and let me know what I’m missing it will be much appreciated.
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/91.0.4472.77 Safari/537.36
Challenge: Build a Drum Machine
Link to the challenge: