Javascript
JavaScript is a programming language primarily used to make websites interactive. It runs mainly in the browser, on the client side, allowing things like form validation before submitting, dynamic page updates without reloading, animations and UI interactions, fetching data asynchronously.
PHP interacts with JavaScript to serve it, or produce specific datasets.
It can also run on the server side using environments like Node.js.