Drum machine app using React

Drum machine app using React
0

#1

here is the drum machine app using React https://codepen.io/mehdij/full/EeJyGa/ ,give some feedback! :smiley:


#2

It’s only me or it only passes 4 tests out of 8?


#3

Other than it is not responsive at all, you should not be referencing the DOM direct within the React components. Learn about using Refs.

const x = document.getElementById("1Q");

#4

Hi,
I think you are having a problem with how you call the “audio” element - which has a src attribute pointing to an audio clip - which has a class name of “clip”.

I can’t see the “.clip”