Introduction to JavaScript


Introduction to JavaScript

  • JavaScript is a lightweight, powerful, flexible, and fast object-oriented programming language that is used on several websites for scripting webpages. It is used for increasingly complex web development. It’s an interpreted, full-fledged programming language that enables dynamic interactivity on websites when applied to an HTML document. With JavaScript, users can build modern web applications to interact directly without reloading the page every time. The traditional website uses JS to provide several forms of interactivity and simplicity.
  • JavaScript (JS) is one of the most used programming languages. It was created by Brendan Eich in the year of 1995.JavaScript has a huge community of developers all over the world. This programming language is easy to learn and pleasant to write programs in.
  • JavaScript is a programming language that allows you to implement complex things on web pages. Every time a web page does more than just sit there and display static information for you to look at—displaying timely content updates, interactive maps, animated 2D/3D graphics, scrolling video jukeboxes, or more you can bet that JavaScript is probably involved.
  • According to GitHub 2018, JavaScript tops the list of the most popular programming languages. It is used for both front-end and back-end development.
  • JavaScript is not Java. These are different programming languages. Their similar names were a marketing move to draw attention to the new language and take advantage of the popularity of Java.
  • JavaScript is based on the ECMAScript standard (often shortened to ES). The latest version of this standard is ES6.

The first program

Programs written in this language are called scripts. Here is an example of a simple JS script that can prints I start to learn JavaScript in TutorialsProg

console.log("I start to learn JavaScript in TutorialsProg.");

 

  • All modern browsers have a built-in program that allows you to execute JS directly in them. Let's look at the result of our first program in the browser. To do this, write the JS code in the opened console, then press Enter. 

I start to learn JavaScript in TutorialsProg

If the browser console does not work properly, you can also run this code at this Code Pen JavaScript Console Template.

 


Leave a comment
Commanted On: 15-11-22

console.log("I start to learn JavaScript in Tutorialsprog.")