JavaScript is an object-based scripting language, which is very popular and used to create dynamic and interactive web pages.
- What is JavaScript?
- Where is JavaScript being Used?
- Advantages of JavaScript.
- Client and Server side Scripting.
Where is JavaScript being Used?
- JavaScript can Interact with HTML DOM elements and dynamically control the webpage.
- You can perform client-side validation using Javascript.
- Using JavaScript, you can create drop-down menus, popup windows and dialog boxes.
- JavaScript can be used to load asynchronous data without refreshing the webpage.
- JavaScript can be used in game development.
Advantages of JavaScript
- Speed: Being client-side scripting language, JavaScript is very fast since all of its code functions run immediately instead of letting it to contact the server and wait for an answer.
- Simplicity: JavaScript is relatively easy to learn and code.
- Versatility: JavaScript act nicely with other languages and also used in a massive variety of applications.
- Server Load: Having in the client-side, it reduces the requirement on the website server.
Client and Server side Scripting
A script is a set of instructions given in the form of codes. The instructions are designed either for the Web browser (client-side scripting) or for the server (server-side scripting). Scripts provide change to a Web page.The client is the structure or system on which the Web browser runs. JavaScript is the major client-side scripting language for the Web. Client-side scripts gets interpreted by the browser. The server is where the Web page and other content reside. The server sends pages to the user/client on request. This combine handling of client-server is facilitated by this single programming language.
0 Comments
If you have any doubts,please let me know