JavaScript
What is JavaScript:
JavaScript is a text-based programming language that allows you to construct interactive web pages on both the client and server sides. Where HTML and CSS give web pages structure and style, JavaScript delivers web pages interactive elements that keep users engaged. JavaScript can calculate, manipulate and validate data. This language is a lightweight programming language commonly used by web developers to create more dynamic interactions when developing web pages, applications, servers, or games. Developers typically use JavaScript with HTML and CSS. And JavaScript still maintains user interaction, something that CSS itself cannot do.
JavaScript Features:
Light Weight Scripting language.
Dynamic Typing.
Object-oriented programming support.
Functional Style.
Platform Independent.
Prototype-based.
Interpreted Language.
Async Processing.
Advantages & Disadvantages of JavaScript:
Advantages:
JS is faster
Very Simple to use
Online supports
Interoperability
Less server interaction
Easy to debug and test
Disadvantages:
Get Tharindu Chathuranga’s stories in your inbox
Join Medium for free to get updates from this writer.
No support for multithreading
Reading and writing of files are not allowed
No support for networking applications
Time-consuming
Code visibility
What JavaScript can Do:
1. Control document appearance and content.
2. Control the browser.
3. Interact with applets.
4. Manipulate embedded images.
5. Interact with the user.
6. Interact with document content.
7. Read and write client state with cookies.






