What Is Java Script

Table of contents:

What Is Java Script
What Is Java Script

Video: What Is Java Script

Video: What Is Java Script
Video: What is JavaScript? 2024, December
Anonim

Java Script is a programming language that improves the look and feel of web pages and their functionality. You can write a script in any text editor, and view it in a browser that is capable of processing scripts.

people in the office at the computer desk
people in the office at the computer desk

JavaScript is a special prototype-oriented programming language. It can be embedded in the html-code of web pages, thereby increasing the functionality of the site. The script allows developers of various browsers to make pages interactive, so this convenient and functional language is becoming more and more popular every day.

Java script is considered one of the easiest programming languages, in large part due to its similarity to Java, which determined the first part of its name. The architecture of this software language has a number of features, which is primarily due to its similarity with other languages, and secondly, to its application in practice. It is impossible not to note the property of memory, which can be managed automatically, as well as dynamic typing by its type, prototype programming and the presence of functions considered as objects of the first class.

What JavaScript allows

Java script allows you to create beautiful interactive pages, which is impossible to do in pure html language. As a rule, the execution of scripts is preceded by any user actions: clicking, hovering, etc. The execution of the given language starts when the web page is loaded. You can write a Java script using any text editor. You can view what you have written in a browser capable of processing scripts. We are talking about Netscape Navigator (starting from the 2nd version) and Microsoft Internet Explorer (starting from the 3rd version).

Since both of these browsers became widespread, almost all users began to work with this programming language, improving the appearance of web pages and their functionality. By the way, scripts may be displayed differently in browsers. Most of the Java scripts that can be downloaded on the Internet for free cannot be supported by Opera.

How to place the finished code in a separate file

It is necessary to create a page in any text editor and save it. Next, download the ready-made Java script code and place it on this page. Save in the same folder as.html. Now you need to provide JavaScript connection to the html page. To do this, you need to make a corresponding entry in the HTML file.

Scripts written in the language of this script? can be placed on the html page itself between the tags of the same name. Tegu

Recommended: