Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions 01 - Drum Kit/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import sys;


const keys = Array.from(document.querySelectorAll('.key'));

const keyCode = {
Expand Down Expand Up @@ -34,6 +37,12 @@ function playSound(e) {
}


var xxx = 6 + 7;

var yyy = xxx + 5;

console.log(xxx)

keys.forEach((key) => key.addEventListener('transitionend', removeTransition));

window.addEventListener('keydown', playSound);
Expand Down
2 changes: 1 addition & 1 deletion 10 - Emoji Switcher like Discord/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const emojiAddFunction = async () => {
}

emojiAddFunction();

emojiAddFunction();
btn.addEventListener('mouseover', () => {
btn.innerText = emojis[Math.floor(Math.random() * emojis.length)];
})
Expand Down