Tuesday 9 June 2020

Javascript introduction| what is Javascript| History of javascript -Online Help

Javascript Introduction:

The important topic of web technology is JavaScript. Now, what is JavaScript let's see the JavaScript introduction?


Javascript introduction| what is Javascript| History of javascript -Online Help


JavaScript is a client-side scripting language and connected to the server.

It is widely used in tasks ranging from validation of form data to the creation of complex user interfaces.

Javascript is a dynamic computer programming language and powerful client-side scripting language. It is mainly designed for enhancing the interaction of the user with the web pages.

JavaScript not only used in web pages but also used in many desktop and server programs as well as in-game development and mobile application development.

Dynamic HTML is a combination of the content formatted using HTML, CSS, scripting language, and DOM by combining all of these technologies we can create an interesting and interactive website.

History of JS:

Netscape initially introduced the language under the name LiveScript in an early beta release of navigator 2.0 in 1995, and the focus was on form validation. After that, the language was renamed JavaScript.

After Netscape introduced JavaScript in version 2.0 of their browser, Microsoft introduced a clone of JavaScript call JS script in internet explorer 3.0.

Also read: Java string | string classes in java

What is JavaScript?

  • JavaScript was designed to add interactivity to the HTML pages.
  • JavaScript is a scripting language.
  • It is the lightweight programming language.
  • JavaScript is usually embedded directly into HTML pages.
  • JavaScript is an interpreted language that means which executes without preliminary completion.
  • Everyone can use JavaScript without purchasing a license.

Are Java and JavaScript the same?

No, Java and JavaScript are not the same. In fact, they are completely different languages in both concepts and designs.

Java {developed by Sun Microsystem} is a powerful and much more Complex program - in the same category as C and C++.

Let's see the comparison between Java and Javascript:

Java

JavaScript

  • Java is a programming language
  • JavaScript is a scripting language
  • It is strongly typed language
  • It is dynamically typed language
  • Types on own at the compile time
  • Compile-time type checking is impossible
  • The objects in Java is static
  • Javascript Object are dynamic
  • Collection of data member and the method is fixed at the compilation time
  • The number of data member and methods of an object can change during execution
  • Object-oriented programming language
  • Object-based language

I hope you guys understand what is JavaScript and the introduction briefly. Let's see the uses and advantages of it in the next post if you have any queries please comment down below. Thank you for visiting my site.

No comments:

Post a Comment