JavaScript Tutorial in Hindi #1 - What is JavaScript? (2025)

Introduction to JavaScript

What is JavaScript?

  1. JavaScript (JS) is a high-level, dynamic programming language used for adding interactivity to websites.
  2. It is one of the core technologies of the web, alongside HTML & CSS.


Why Use JavaScript?

  1. Makes websites interactive (e.g., animations, popups, forms).
  2. Works on both Frontend & Backend (with Node.js).
  3. Used in Web Development, Mobile Apps, Games, AI, and more.
  4. Supports Asynchronous programming (using Promises & Async/Await).
  5. JavaScript is the most popular language in the world.


Where is JavaScript Used?

  1. Web Development – Used with HTML & CSS to create websites.
  2. Server-Side Development – Node.js allows JS to run on servers.
  3. Mobile App Development – React Native & Ionic use JS.
  4. Game– Phaser.js and Three.js help build browser games.
  5. AI – TensorFlow.js enables AI in the browser.


Local Machine Setup

Method 1: Using Node.js via Terminal / CMD

Method 2: Running a JavaScript File in Node.js