DrumMachine Project

Hey, I have been working on a drum machine. It passes 6/8 tests when I clicked detail which tests it doesn’t pass. It does pass it when I test it :frowning: . I don’t know what’s wrong.

HERE IS MY CODE PEN LINK FreeCodeCampDrumMachine (codepen.io)

Thanks for help in advance!

It crashes the codepen on around 10-12 keydown events. But I have no idea why.

I have resolved the issue it had something to do with lifecycle of component.