You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jshreyans551 have a look at the task description again
"Clicking on these 'virtual keys' or pressing the corresponding keys on the keyboard should produce a sound (different sounds for different keys)."
@sarthak-sehgal
I've added the necessary code for mouseclicks also. However, I had to use the switch-case again and that makes the code repetetive. I'm trying to make a function and simply call it in both mousedown and keydown but the switch receives different argument types in each event so that creates a problem.
Completed B1
Will be adding more animations on
keydown
andkeyup
to highlight what key has been pressedThe text was updated successfully, but these errors were encountered: