javascript keyboard inputs | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

javascript keyboard inputs

I want to reduce the amount of horrible buttons on screen. I feel one way to do this is by using buttons on a laptop keyboard. But, could someone provide me with code to do this and how the code works like what each bit does

21st May 2018, 5:23 PM
Zakariya
Zakariya - avatar
2 Answers
+ 3
So you're going to have a horrible button tutorial or guide sheet so they realize your website works differently than nearly all websites? Horrible buttons doesn't seem so bad; just turn them into pretty, fancy buttons instead. ;) https://www.sololearn.com/Course/JavaScript/ ^Answer to your question. Since you haven't taken the Javascript course yet, I'm not going to teach it to you since a course is already provided here for your learning. If you go through the course, it'll explain events and keycodes to you. https://www.w3schools.com/jsref/event_key_keycode.asp ^Further resource for it. Best of luck!
21st May 2018, 6:02 PM
Fata1 Err0r
Fata1 Err0r - avatar
21st May 2018, 11:57 PM
Logan
Logan - avatar