Skip to content

Commit 9455d77

Browse files
author
Greg Pfaff
committed
adding comments
1 parent b49f996 commit 9455d77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

01 - JavaScript Drum Kit/index-START.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ <h1>#JavaScript30 Drum Example</h1>
8282
drum.classList.add('playing');
8383
}
8484

85+
//drum loop
86+
8587
const drums = document.querySelectorAll('.drum');
8688
drums.forEach(drum => drum.addEventListener('transitionend', removeTransition));
8789

0 commit comments

Comments
 (0)