shipkmfk.blogg.se

What is js
What is js








You should place all your JavaScript code within tags ( and ) if you are keeping your JavaScript code within the HTML document itself. You can use any web browser including Google Chrome, Firefox, Microsoft Edge, Internet Explorer etc. You can use a text editor of your choice including Notepad++, Visual Studio Code, Sublime Text, Atom or any other text editor you are comfortable with. To start with, you need a text editor to write your code and a browser to display the web pages you develop. Thus, JavaScript overcomes the main disadvantages of VBScript (Now deprecated) which is limited to just IE and Windows. Also, JavaScript runs on any operating system including Windows, Linux or Mac.

what is js

So, you do not have to worry about whether your site visitor uses Internet Explorer, Google Chrome, Firefox or any other browser. The main advantage of JavaScript is that all modern web browsers support JavaScript. When a user requests an HTML page with JavaScript in it, the script is sent to the browser and it is up to the browser to execute it. In fact, the browser is responsible for running JavaScript code. How to Run JavaScript?īeing a scripting language, JavaScript cannot run on its own. The syntax of JavaScript is mostly influenced by the programming language C. Java is a very complex programming language whereas JavaScript is only a scripting language. In fact, JavaScript and Java are very much unrelated. There are many programmers who think that JavaScript and Java are the same. The language was initially called LiveScript and was later renamed JavaScript. JavaScript was developed by Brendan Eich in 1995, which appeared in Netscape, a popular browser of that time. JavaScript is also being used widely in game development and Mobile application development. In other words, you can make your webpage more lively and interactive, with the help of JavaScript.

what is js

JavaScript is used mainly for enhancing the interaction of a user with the webpage. JavaScript is a very powerful client-side scripting language.










What is js