here is the link: Beta Drum Machine
I have used just jquery for this project but one part was problematic. When targeting the children of the div pressed in order to play it, like so:
I had a div with a p element and an audio element but even if I was supposed to target only children audio.clip (I tried ‘.clip’ too) it would work very intermittently. I deleted the p element and wrote directly in the div but I wonder if I was targeting the children wrong. Does anybody know? This is the first time I target anything with the children methods so I’m not very familiar with it.
Please let me know your thoughts on the project.