Drum kit allows you to play basic drums and cymbals sounds either by clicking on virtual keys or pressing the keys on the keyboard
The goal of this project is to explore more about responsiveness, event listeners (adding & handling multiple event listeners on single element), audio integration, animations, color gradients & SEO meta tags
getElementByIdandquerySelectorto select and manipulate DOM elementsbackground-image&linear-gradientto create gradient backgroundAudiowebAPI for playing audio- Custom font Arvo
- Primary
metatags such asauthor,title&description - Facebook's
metatags such asog:type,og:url,og:title,og:description&og:image - Twitter's
metatags such astwitter:url,twitter:title,twitter:description&twitter:image
Unable to play audio despite using correct API from documentation
Understanding browswer security and modifying code accordingly to fulfill browser's requirements
- To target alphabet keys use
keypressrather thankeydown - Browser security & updates play a crucial role in the development, when things just don't work and error messages don't make any sense, read broswer update logs
