What is Javascript?

  • JavaScript (js) is a light-weight object-oriented programming language
  • It is designed for creating network-centric applications.
  • This is a most popular programming language.
  • JavaScript is easy to learn and used.
  • It is an interpreted, full-fledged programming language that enables dynamic interactivity on websites when applied to an HTML document.
  • It was introduced in the year 1995 for adding programs to the webpages in the Netscape Navigator browser.
  • The programs in this language are called scripts. They can be written right in a web page’s HTML and run automatically as the page loads.
  • JavaScript is the programming language of the Website.
  • JavaScript is an object-based scripting language which is lightweight and cross-platform.
  • JavaScript is not a compiled language, but it is a translated language. The JavaScript Translator (embedded in the browser) is responsible for translating the JavaScript code for the web browser.
  • Our JavaScript Tutorial is designed for beginners and professionals both. JavaScript is used to create client-side dynamic pages.

Examples in Each Chapter

This Javascript tutorial contains hundreds of Javascript examples.

With our online editor, you can edit the Javascript, and click on a button to view the result.

JS Example

Edit it yourself
<button onclick="function_name()">Sum!</button>
<script type="text/javascript">
function function_name() {
    var a = 5;
    var b = 6;
    var c = a + b;
    alert("The value of z is : " + c);
}
</script>