Hello!
I’m solving the project of the Drum Machine, but I don’t know why I’m not passing the tests in spite of the project works OK.
Am I missing something?
Here is the pen: https://codepen.io/CarlosCordova/pen/gdwwZa
Hello!
I’m solving the project of the Drum Machine, but I don’t know why I’m not passing the tests in spite of the project works OK.
Am I missing something?
Here is the pen: https://codepen.io/CarlosCordova/pen/gdwwZa
I tested you drum machine and the reason it fails is because it does not play a sound when you press the drum pad, only when you press the span inside the drum pad.
Oh, I see. Do you know why could that happen even if I attached the EventListener
directly to the .drum-pad
element?
Thanks a lot!!
Now I know about refs
for accessing the DOM. What I don’t know is why the tests stop in 8/8 are them just 8?