Skip to content

Commit b23abbb

Browse files
authored
Update index.html
spelling.
1 parent 45e08db commit b23abbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎01 - JavaScript Drum Kit/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
functionplaySound(e){
6464
constaudio=document.querySelector(`audio[data-key="${e.keyCode}"]`);
6565
constkey=document.querySelector(`.key[data-key="${e.keyCode}"]`);
66-
if(!audio)return;// stop the function from running all together
66+
if(!audio)return;// stop the function from running altogether
6767
audio.currentTime=0;// rewind to the start
6868
audio.play();
6969
key.classList.add('playing');

0 commit comments

Comments
(0)