** The quality of singing does not reflect the quality of the coding...
-
Adding an event listener to the window (keydown) as well as mouseover
-
Using a switch statement (with mouseover) and an object (with keydown) to play the audio sounds
-
Using CSS Grid to make the b-iano keys and experimenting with the minmax property
-
Using a pseudo element to create background opacity
-
The audio didn't play until the page was clicked on so I made a pop-up button which had to be pressed in order to 'enter' the page
- HTML
- CSS
- JavaScript
Clone the repo as instructed below
No prerequisites
- Clone the repo
git clone https://github.com/katiehawcutt/b-iano.git
- Run the index.html in a browser
On page load, click the button to gain access to the B-iano. Hover with the mouse of use the letters displayed on the keyboard to play!