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.
See also PHP-JS.
Related : AJAX, CSS, HyperText Markup Language (HTML), Progressive Web App, Asset, Document Object Model (DOM)