MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / Xylophone.js

File Xylophone.js

assets/js/Xylophone.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1var key_num = document.querySelectorAll('.note').length
2
3for (var i = 0; i < key_num; i++) {
4 document.querySelectorAll('.note')[i].addEventListener('click', function () {

Callers

nothing calls this directly

Calls 2

playSoundsForKeyFunction · 0.85
buttonAnimationFunction · 0.70

Tested by

no test coverage detected