Dynamic web pages with JavaScript — ### over view:
JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementations allow client-side script to interact with the user and make dynamic pages. It is an interpreted programming language with object-oriented capabilities.
Client-side JavaScript is the most common form of the language. The script should be included in or referenced by an HTML document for the code to be interpreted by the browser.
It means that a web page need not be a static HTML, but can include programs that interact with the user, control the browser, and dynamically create HTML content.
|Advantges|Disadvantges| |—–|—–| |Less server interaction|Client-side JavaScript does not allow the reading or writing of files. This has been kept for security reason.| |Immediate feedback to the visitors|JavaScript cannot be used for networking applications because there is no such support available.| |Increased interactivity |JavaScript doesn’t have any multi-threading or multiprocessor capabilities| |Richer interfaces||