Everyone has a language they like above all others, but in your case it does not come down to your preference.
Events/clicks are handled by JS wherever your like it or not (that's just how your browser is implemented).
Front-end: HTML, CSS and JS
Back-end: PHP, Java, C++, Go, etc...