Working on getting the CSS change to trigger with the keydown function, and revert back to its original style after keyup, also I am not passing a couple of the tests and I am not quite sure why. Any feed back or suggestions would be greatly appreciated!
-
- Within #drum-machine I can see 9 clickable “drum pad” elements, each with a class name of “drum-pad”, a unique id that describes the audio clip the drum pad will be set up to trigger, and an inner text that corresponds to one of the following keys on the keyboard: Q, W, E, A, S, D, Z, X, C. The drum pads MUST be in this order.
-
- Within each .drum-pad, there should be an HTML5 <audio> element which has a src attribute pointing to an audio clip, a class name of “clip”, and an id corresponding to the inner text of its parent .drum-pad
project link