What is JavaScript


 What is JavaScript?


 Table of contents


 1.  What is JavaScript?  (What is JavaScript )
 2.  History of JavaScript
 3.  Features of JavaScript
 4.  Advantages of JavaScript
 5.  Disadvantages of JavaScript


 Today we will learn what is JavaScript?  (What is Javascript ), History of JavaScript, History of JavaScript, Features of JavaScript, Advantages of JavaScript, Disadvantages of JavaScript, as we know  JavaScript is a client-side web programming scripting language that works primarily on the principle of Object Oriented Programming.  If you want to become a web developer or web designer, then you have to learn HTML, CSS as well as JavaScript, because JavaScript is the animation (  Animation) is very useful for inserting.





 JavaScript is also used to handle logical conditions in a website (eg: matching ram and rom and password).  Like you coded a website in HTML and designed it with the help of CSS but using JavaScript you can add dynamic elements like slider, display alert, button, popup to your website.  It is a client-side scripting language which means that it executes on a web browser and has no connection with the server.

 JavaScript is an object-oriented language, and programmers can create or delete their own objects.  JavaScript is a powerful scripting language, as well as a very lightweight programming language which makes it very different from other popular programming languages ​​such as C ++, C #, or Java.



 "Hello, World!"  Program in JavaScript

 <html> <head> <title> My Firt JavaScript File </title> <script type = "text / javascript"> document.write ("Hello World");  </script> </head> <body> </body> </html> Output Hello, World!

 History of JavaScript 


 The creator of JavaScript is brendon eich.  Brendan Eich is the co-founder of the Mozilla Project.  The first name of JavaScript was LiveScript, thenit is turned by Netscape changed it to JavaScript.

 JavaScript has a file extension of .js and works in almost all well-known web browsers such as Google Chrome, Mozilla Firefox, Mozilla Firefox, Internet Explorer, Safari Web Browser,  Opera Web Browser, Maxthon Web Browser, UC Browser, Netscape Web Browser, etc.


 JavaScript version:

 JavaScript 1.1 (released August 19, 1996.)

 JavaScript 1.2 (released June 11, 1997.)

 JavaScript 1.3 (released on October 19, 1998.)

 JavaScript 1.4 (released in 1999 with Netscape's server-side JavaScript.)

 JavaScript 1.5 (released November 14, 2000.)

 JavaScript 1.6 (released in November 2005.)

 JavaScript 1.7 (released in October 2006.)

 JavaScript 1.8 (released in June 2008.)

 JavaScript 1.8.1 (released on June 30, 2009.)

 JavaScript 1.8.2 (released on June 22, 2009.)

 JavaScript 1.8.5 (released on July 27, 2010.)

 Features of JavaScript







 JavaScript is an object-oriented language.  However, the way JavaScript handles objects and Inheritance is slightly different from pure object oriented programming languages ​​like Java and C ++.  Because of this, JavaScript is simple to learn and use, as well as supports most Object Oriented Concepts.

 Javascript is executed in Web Browser ie it can be run in Web Browser without compile.

 JavaScript is case sensitive.

 Each statement in JavaScript ends with a semicolon (;).

 Most JavaScript control statements syntax is similar to the syntax of control statements in the C programming language.

 An important feature of JavaScript is that it can create new functions within the script.  Function declaration is done in JavaScript using the function keyword.

 JavaScript is known as a lightweight scripting language.

 JavaScript can be used on the client side as well as the server side.

 JavaScript is supported by almost all popular web browsers and operating systems.

 JavaScript has the ability to detect the user's browser and operating system, which allows your script to perform Platform Dependent Operations if necessary.

 JavaScript also allows simple arithmetic calculations to be performed on the client side.

 JavaScript also validates the user's input.  Example - like a JavaScript calculator is embedded on a website, instead of numerical input you try to type some characters.  You will get a warning: Invalid input characters!

 Advantages of JavaScript


 Speed: - Being client-side, JavaScript is very fast as any code functions can be run immediately instead of connecting to the server and waiting for a reply.  Javascript code is executed without connecting to the server, which gives it some speed advantage.

 Cross Platform: - It works easily in any operating system and well-known web browser.  Such as Google Chrome, Mozilla Firefox, Internet Explorer, Windows Operating System, Windows Operating System, Linux Based OS, Mac OS, Mac OS, Ubuntu  ), Unix, Android, etc.

 Simplicity: - Javascript is relatively simple to learn and implement.

 Server Load: - Due to being client-side, requests on the server are reduced because JavaScript is executed in the web browser, and the load on the server is reduced.

 Updates: - Javascript continues to update from time to time.

 Disadvantages of JavaScript


 Client-Side Security: - JavaScript code is executed on the users' computer, so it has some security vulnerability.

 Execution Vary: - JavaScript can work differently on different browsers i.e. its outputs are not consistent across all platforms.

 No Support for Network Applications: - JavaScript cannot work with network applications, as there is no support available in JavaScript.

Comments

Popular Posts