diff --git a/01 - JavaScript Drum Kit/index-START.html b/01 - JavaScript Drum Kit/index-START.html index 4070d32767..ba93500711 100644 --- a/01 - JavaScript Drum Kit/index-START.html +++ b/01 - JavaScript Drum Kit/index-START.html @@ -1,10 +1,12 @@ + JS Drum Kit + @@ -57,10 +59,35 @@ - + audio.currentTime = 0; + audio.play(); + key.classList.add('playing'); + + // console.log('key:', key); + // console.log('audio:', audio); + + }; + + function removeTransition(e) { + if (e.propertyName !== 'transform') return; + this.classList.remove('playing'); + // console.log('this : ', this); + }; + - + + \ No newline at end of file diff --git a/02 - JS + CSS Clock/index-START.html b/02 - JS + CSS Clock/index-START.html index 259280d228..b7af2adb42 100644 --- a/02 - JS + CSS Clock/index-START.html +++ b/02 - JS + CSS Clock/index-START.html @@ -1,73 +1,111 @@ + Document + -
-
-
-
-
-
+
+
+
+
+
+
- + + \ No newline at end of file