Hi,
For the Front-End certification testing, on my Drum Machine project, I am at 7/8 - everything works, but it doesn’t pass test 6 … As you probably know, the text of the test seems to imply that pressing the keys don’t result in sounds, or at least the correct ones, but as said: this appears not to be the case. ???
Where to go from here? any guidance would be helpful.
Hi again,
I’ve looked at the example project in Developer Tools & see no difference to my code - there’s an audio element with a src attribute of the correct clip, which is playable
Take a close look at lines 146-156 in the example’s JS code. You need to have a keydown handler to play the sounds when the user presses one of the keys in the keypad.