Tell us what’s happening:
I have most of the functionality of my drum machine complete. However, I’m failing the following tests:
#5 (When I click on a .drum-pad element, the audio clip contained in its child element should be triggered.)
#7 (When a .drum-pad is triggered, a string describing the associated audio clip is displayed as the inner text of the #display element (each string must be unique).)
As far as I can tell, my app fulfills the functionality outlined in those tests. Any thoughts on why they’re failing?
Your code so far
My code is on Github, and the app is also hosted on Github Pages.
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/front-end-libraries-projects/build-a-drum-machine/