Drum Machine Project Finished


I have just finished the Drum Machine project, and would l appreciate it if you’d have some feedback.

Codepen: https://codepen.io/unkovic_nemanja/full/Vwvwpxg

Thanks In Advance
Happy Coding



I think you did a very good job. I like the look and feel of the drum machine. Power button is a nice touch too. Definitely something to include in your portfolio.


1 Like

Really nice UI. You can improve the code… never use document.getElementById(item.keyTrigger).play() with react. In that casa you can use ref to access to audio node.

1 Like

Thank you both for replying.

I will look into replacing document.getElementById with ref.