JavaScript Tutorial JavaScript References

JavaScript - Tutorial

JavaScript is a high-level, lightweight, and interpreted programming language. Alongside HTML and CSS, JavaScript is one of the core technologies of the World Wide Web. All major web browsers have a dedicated JavaScript engine to execute the code on the user's device. JavaScript engines were originally used only in web browsers, but now core components of other software systems, most notably servers and a variety of applications.

About Tutorial

This tutorial is intended for students and professionals interested in studying basic and advanced concepts of JavaScript. This tutorial covers all topics of JavaScript which includes data types, operators, arrays, strings, control statements, classes, forms, objects, constructors, inheritance, built-in functions, & HTML DOM. We believe in learning by examples therefore each and every topic is explained with lots of examples that makes you learn JavaScript in a very easy way. Along with this, almost all examples can be executed online which provides better understanding of the language and helps you to learn the language faster. The classical "Current Time & Date" example is mentioned below for the illustration purpose:

<button type="button"
onclick="document.getElementById('result').innerHTML = 
'<b>Current Time is: </b>' + Date()">
Click Here for Current Time & Date</button>

<p id="result"></p>

The output of the above code will be:


Before learning JavaScript, It is highly recommended to go through HTML tutorials first if you are new to HTML. A prior exposure of any programming language would be an added advantage while following this tutorial but it is designed in such a way that anyone can start from scratch.