Introduction To JavaScript Learn Free

What is JavaScript?

JavaScript could be a terribly powerful client-side scripting language. JavaScript is employed chiefly for enhancing the interaction of a user with the webpage. In different words, you’ll create your webpage additional spirited and interactive, with the assistance of JavaScript. JavaScript is additionally getting used wide in game development and Mobile application development.

Learn Free Introduction To JavaScript

Javascript History

JavaScript was developed by Brendan Eich in 1995, that appeared in a web browser, a preferred browser of that point.

The language was at first referred to as LiveScript and was later renamed JavaScript. There are several programmers WHO assume that JavaScript and Java are identical. In fact, JavaScript and Java are considered unrelated. Java could be a terribly advanced artificial language whereas JavaScript is barely a scripting language. The syntax of JavaScript is generally influenced by artificial language C.

How to Run JavaScript?

Being a scripting language, JavaScript cannot run on its own. In fact, the browser is liable for running JavaScript code. once a user requests AN hypertext markup language page with JavaScript in it, the script is shipped to the browser and it’s up to the browser to execute it. the most advantage of JavaScript is that every trendy internet browsers support JavaScript. So, you are doing not ought to worry regarding whether or not your web site traveller uses web someone, Google Chrome, Firefox or the other browser. JavaScript is supported. Also, JavaScript runs on any software together with Windows, UNIX system or waterproof. Thus, JavaScript overcomes the most disadvantages of VBScript (Now deprecated) that is restricted to simply i.e. and Windows.

Tools you would like

To start with, you would like a text editor to jot down your code and a browser to show the net pages you develop. you’ll use a text editor of your selection together with Notepad++, Visual Studio Code, chic Text, Atom or the other text editor you’re snug with. you’ll use any application together with Google Chrome, Firefox, Microsoft Edge, web someone etc.

A Simple JavaScript Program

You should place all of your JavaScript code at intervals tags ( and ) if you’re keeping your JavaScript code within the hypertext markup language document itself. This helps your browser distinguish your JavaScript code from the remainder of the code. As there are different client-side scripting languages (Example: VBScript), it’s extremely suggested that you simply specify the scripting language you employ. you’ve got to use the kind attribute at intervals the tag and set its price to text/javascript like this:

Summary

JavaScript could be a client-side scripting language developed by Brendan Eich.
JavaScript is run on any in operation systems and the majority internet browsers.
You need a text editor to jot down JavaScript code and a browser to show your website.

Leave a Comment

error: Alert: Content is protected!!