A webpage built using HTML
, CSS
& JavaScript
. The webpage plays the sounds of different drum images by clicking on it.
- The button actually contains an image inscribed in it.
- When the user click on the image, the image plays the respective sounds that is assigned to it.
- The webpage uses advanced JS concepts & DOM Concepts.
document.addEventListener
name(event.Key)
Switch Statements
function name(key){
switch(key){
case "w":
break;
case "s":
break;
}
}