Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ Music-box.js
File
Music-box.js
assets/js/Music-box.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
var
a = document.querySelectorAll(
".music"
).length
2
// detecting button press
3
for
(
var
i = 0; i < a; i++) {
4
document.querySelectorAll(
".music"
)[i].addEventListener(
"click"
,
function
() {
Callers
nothing calls this directly
Calls
2
showanimations
Function · 0.85
makeSoundKey
Function · 0.85
Tested by
no test coverage detected