0
How do I play when I press the letter D?
6 ответов
+ 1
Then you need to know how to retrieve the code of the button and test the pressed key code against the play button code ( each key on your keyboard has a specific code ) search this on the internet than you are good to go
+ 2
Thank you friend, it helped me a lot, I got it! Thank you!
+ 1
I think adding an event listener for "keydown" ( the name of the event if im not mistaken ) should do the trick
+ 1
Well sorry its not keydown its keypress but the u should search how to know the key pressed, in your case thats the letter "d"
0
No result :(
0
in case it would be playBtn?