What is Javascript?

JavaScript |

In this article we will look at JavaScript from a high level, answering questions such as “What is Javascript?” and “What can you do with it?”, and making sure you are comfortable with JavaScript’s purpose.
Prerequisites: Basic computer literacy, a basic understanding of HTML and CSS.
Objective: To gain familiarity with what JavaScript is, what it can do, and how it fits into a web site.

A significant level definition

JavaScript is a scripting or programming language that permits you to carry out complex features on web pages — each time a site page accomplishes something beyond stay there and show static data for you to check out — showing ideal substance refreshes, intuitive guides, energized 2D/3D illustrations, looking over video jukeboxes, and so on — you can wager that JavaScript is presumably involved.

JavaScript is a scripting language that empowers you to make progressively refreshing substance, control media, vitalize pictures, and essentially all the other things. (OK, not everything, but rather it is astounding what you can accomplish with a couple of lines of JavaScript code.)

So what could it at any point truly do?

The core client-side JavaScript language consists of some common programming features that allow you to do things like:

  • Store useful values inside variables. In the above model for example, we request another name to be placed then store that name in a variable called name.
  • Procedure on bits of text (known as “strings” in programming). In the above model we take the string “Player 1: ” and go along with it to the name variable to make the total text mark, for example “Player 1: Chris”.
  • Running code in response to certain events occurring on a web page. We used a click event in our example above to detect when the label is clicked and then run the code that updates the text label.
  • Also, substantially more!

What is Javascript?