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
getElementById
andquerySelector
to select and manipulate DOM elementsbackground-image
&linear-gradient
to create gradient backgroundAudio
webAPI for playing audio- Custom font Arvo
- Primary
meta
tags such asauthor
,title
&description
- Facebook's
meta
tags such asog:type
,og:url
,og:title
,og:description
&og:image
- Twitter's
meta
tags 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
keypress
rather 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