Hello and i have a question , i have created in html and css 4 buttons , that when hover they do that , when pressed by mouse they do that(:active in css) , but my question is , how can i action them using the arrow keys , because in my project i have to control a rc car using a website and buttons , but for now i want to see how can my buttons work by pressing the arrow keys on my keyboard and do the effect in my :active in css , i searched here but nothing , i am novice when it comes to javascript so bear with me.
Any tips and info are welcome .