Important Notice:

JavaScript & Angular JS (Chapter: 6)

84 Notes

Notes in JavaScript & Angular JS (Chapter: 6)

Content of this Chapter:

Content of this Chapter:  Introduction to JavaScriptजावास्क्रिप्ट का परिचय  JS Commentजेएस कमेंट (टिप्पणी)...

M2-R5.1
Read Now →
Introduction to JavaScript:

Introduction to JavaScript: जावास्क्रिप्ट एक popular client-side programming language है। इसकी मदद से HTML we...

M2-R5.1
Read Now →
JavaScript Version

JavaScript Version :- वर्तमान जावास्क्रिप्ट version ES2025 है। ECMAScript, JavaScript standard क...

M2-R5.1
Read Now →
Uses of JavaScript

Uses of JavaScript Web Development में JavaScript का बहुत उपयोग होता है। इसकी मदद से Navigation, Image Slider, Popup Wi...

M2-R5.1
Read Now →
Features of JavaScript

Features of JavaScript जावास्क्रिप्ट को बिना Compile किए किसी भी web browser में चलाया जा सकता है...

M2-R5.1
Read Now →
Advantages of JavaScript

Advantages of JavaScript यह client-side language है, इसलिए server पर load कम आता है। कोई co...

M2-R5.1
Read Now →
Disadvantages of JavaScript

Disadvantages of JavaScript security risk – क्योंकि code user ke browser par visible होता है, कोई भी उसे द...

M2-R5.1
Read Now →
Program Structure

Program Structure:- JavaScript प्रोग्राम लिखने के लिए सबसे पहले किसी टेक्स्ट एडिटर (जैसे Notepad, VS Code, Sublime...

M2-R5.1
Read Now →
Way of Adding JavaScript

Way of Adding JavaScript :- वेब पेज में JavaScript को जोड़ने के तीन मुख्य तरीके हैं। 1- Internal JavaScript:- इसमें&n...

M2-R5.1
Read Now →
JavaScript Output

JavaScript Output:- JavaScript निम्नलिखित तरीकों से डेटा को प्रदर्शित (display) कर सकता है: innerHTML or&n...

M2-R5.1
Read Now →
innerHTML or innerText

innerHTML or innerText:- syntax:-   document.getElementById("demo").innerHTML  किसी HTML एलिम...

M2-R5.1
Read Now →
document.write()

document.write():- इसका उपयोग simple text और testing purpose के लिए किया जाता है। ध्यान दें: पेज लोड होने के&nbsp...

M2-R5.1
Read Now →
window.alert()

window.alert():- एक डायलॉग बॉक्स (pop-up) में संदेश दिखाता है जिसमें एक OK बटन होता है। इसका उपयोग आमतौर प...

M2-R5.1
Read Now →
console.log()

console.log() :- यह JavaScript का एक मेथड है जो डिबगिंग (debugging) के लिए उपयोग होता है। यह संदेशों या वेरिएबल्स की...

M2-R5.1
Read Now →
JavaScript Comments

JavaScript कमेंट (Comments) :- कमेंट्स का उपयोग कोड को समझाने या उसे अस्थायी रूप से अक्षम (disable) करने के लिए किया जा...

M2-R5.1
Read Now →
JavaScript Identifier

JavaScript Identifier :- Identifier वह नाम है जो आप वेरिएबल, फंक्शन, क्लास आदि को देते हैं। नियम (Rules): पहला...

M2-R5.1
Read Now →
Reserved Words/Keywords

Reserved Words/Keywords:कीवर्ड एक प्रकार के शब्द होते हैं जो पहले से प्रोग्रामिंग भाषा/लाइब्रेरी में आरक्षित (Reserved)...

M2-R5.1
Read Now →
Variable

Variable (चर / वेरिएबल) Variable मेमोरी के उस स्थान को दिया गया नाम होता है, जो किसी मान (value) को संग्रहित (stor...

M2-R5.1
Read Now →
Types of Variable

Types of Variables in JavaScript 1. Local Variable 2. Global Variable 1. Local Variable (लोकल वेरिएबल):- Definition...

M2-R5.1
Read Now →
Data Types:

डेटा टाइप:JavaScript के वेरिएबल्स कई तरह के डेटा टाइप को स्टोर कर सकते हैं – जैसे Numbers...

M2-R5.1
Read Now →
Operator:-

Operator:- जावास्क्रिप्ट (JS) में ऑपरेटर (Operator) एक विशेष सिंबल (या कीवर्ड) होता है जो ऑपरेंड (Operan...

M2-R5.1
Read Now →
Unary Operator

Unary Operator (यूनरी ऑपरेटर):- यूनरी ऑपरेटर वह ऑपरेटर होता है जो सिर्फ एक ऑपरेंड पर काम करता है। उदाहरण (Ja...

M2-R5.1
Read Now →
Binary Operator

Binary Operator (बाइनरी ऑपरेटर):- परिभाषा:बाइनरी ऑपरेटर वह ऑपरेटर होता है जो दो ऑपरेंड पर काम करता है। अधिकतर...

M2-R5.1
Read Now →
Ternary Operator

Ternary Operator (टर्नरी ऑपरेटर):- परिभाषा:टर्नरी ऑपरेटर (जिसे conditional operator भी कहते हैं) वह ऑपरेटर है जो त...

M2-R5.1
Read Now →
Types of Operator depend of functionality

Types of Operator depend of functionality :- अरिथमेटिक ऑपरेटर (Arithmetic) रिलेशनल / तुलना ऑपरेटर (Relational/Compar...

M2-R5.1
Read Now →
Arithmetic Operators

अरिथमेटिक ऑपरेटर (Arithmetic):-     गणितीय गणनाओं के लिए – जोड़, घटाव, गुणा, भाग, शेषफल, घातांक। E...

M2-R5.1
Read Now →
Relational/Comparison Operators

 2-Relational/Comparison Operators (रिलेशनल / तुलना ऑपरेटर)     दो मानों की तुलना करके true या&nbsp...

M2-R5.1
Read Now →
Logical Operators

3. लॉजिकल ऑपरेटर (Logical Operators) बूलियन मानों पर AND, OR, NOT ऑपरेशन। Example:- let p = true, q = false;console.l...

M2-R5.1
Read Now →
Assignment Operators

असाइनमेंट ऑपरेटर (Assignment Operators) :- वेरिएबल में मान असाइन करना या ऑपरेशन करके असाइन करना। Example:-  let...

M2-R5.1
Read Now →
Increment and Decrement Operators

5. इंक्रीमेंट और डिक्रीमेंट ऑपरेटर (Increment & Decrement):- किसी वेरिएबल की वैल्यू को 1 से बढ़ाना या&nbs...

M2-R5.1
Read Now →
Conditional/Ternary Operator

6. कंडीशनल (टर्नरी) ऑपरेटर (Conditional/Ternary Operator) if-else का छोटा रूप – तीन operands पर काम करता है। Exa...

M2-R5.1
Read Now →
Bitwise Operators

7. बिटवाइज ऑपरेटर (Bitwise Operators) बाइनरी लेवल (bits) पर काम करते हैं। कम इस्तेमाल होते हैं, लेकिन सूची में हैं। Ex...

M2-R5.1
Read Now →
Special Operators

8. स्पेशल ऑपरेटर (Special Operators) JS के कुछ विशेष ऑपरेटर: typeofकाम: डेटा टाइप बताता हैउदाहरण: typeof 42 ...

M2-R5.1
Read Now →
Popup Boxes

Popup Boxes:- JavaScript में तीन प्रकार के popup बॉक्स होते हैं, जो यूजर के साथ इंटरैक्ट करने के लिए उपयोग किए जाते हैं...

M2-R5.1
Read Now →
Alert box

alert() – यूजर को महत्वपूर्ण संदेश (important message) दिखाने के लिए alert box का उपयोग किया जाता है जो pop...

M2-R5.1
Read Now →
Confirm box

Confirm box:- confirm() – “हाँ / नहीं” पूछने वाला बॉक्स confirm() बॉक्स का उपयोग यूजर से ह...

M2-R5.1
Read Now →
Prompt box

prompt() – “यूजर से इनपुट लेने वाला” बॉक्स prompt() बॉक्स का उपयोग यूजर से कुछ टाइप करने (i...

M2-R5.1
Read Now →
Type Casting Conversion

Type Casting Conversion: Number() – मान को Number (संख्या) में बदलना parseFloat() – String को दशमलव (Flo...

M2-R5.1
Read Now →
Conditional Statements in JavaScript

Conditional Statements in JavaScript (जावास्क्रिप्ट में कंडीशनल स्टेटमेंट) 1. Introduction to Conditional Statements...

M2-R5.1
Read Now →
if Statement

The if Statement (if स्टेटमेंट) हिंदी व्याख्या: if स्टेटमेंट तब इस्तेमाल होता है जब हमें किसी शर्त को चेक करके काम करना...

M2-R5.1
Read Now →
if-else Statement

The if-else Statement (if-else स्टेटमेंट) हिंदी व्याख्या: if-else में अगर condition सही है तो if वाला कोड चलेगा, गलत ह...

M2-R5.1
Read Now →
if-else if-else Ladder

5. The if-else if-else Ladder (else-if लैडर) हिंदी व्याख्या: जब कई conditions चेक करनी हों तो हम else if का उपयोग करते...

M2-R5.1
Read Now →
switch Statement

The switch Statement (स्विच स्टेटमेंट) हिंदी व्याख्या: switch statement एक variable की value को कई cases से compare करत...

M2-R5.1
Read Now →
Nested if Statement

Nested if Statement (नेस्टेड if स्टेटमेंट) हिंदी व्याख्या: जब एक if स्टेटमेंट के अंदर दूसरा if या if-else हो तो उसे Nes...

M2-R5.1
Read Now →
Complex Conditions using Logical Operators

Complex Conditions using Logical Operators (कॉम्प्लेक्स कंडीशन्स) हिंदी व्याख्या: एक से ज्यादा शर्तों को एक साथ चेक करन...

M2-R5.1
Read Now →
Ternary Operator

Ternary Operator (Conditional Operator):-  Ternary Operator if-else का short form है। इसे एक लाइन में लिखा जाता है...

M2-R5.1
Read Now →
Looping Statements in JavaScript

  Looping Statements in JavaScript (जावास्क्रिप्ट में लूपिंग स्टेटमेंट) 1. Introduction to Looping Statements (...

M2-R5.1
Read Now →
The for Loop

The for Loop (फॉर लूप) हिंदी व्याख्या: for loop सबसे ज्यादा इस्तेमाल होने वाला लूप है। इसमें initialization, condition...

M2-R5.1
Read Now →
The while Loop

The while Loop (व्हाइल लूप) हिंदी व्याख्या: while loop तब इस्तेमाल होता है जब हमें condition पहले चेक करनी हो। अगर cond...

M2-R5.1
Read Now →
The do-while Loop

The do-while Loop (डू-व्हाइल लूप) हिंदी व्याख्या: do-while loop कम से कम एक बार जरूर चलता है क्योंकि condition बाद में...

M2-R5.1
Read Now →
for...in Loop

for...in Loop (ऑब्जेक्ट के लिए) हिंदी व्याख्या: for...in loop ऑब्जेक्ट की keys (properties) पर लूप चलाने के लिए इस्तेमा...

M2-R5.1
Read Now →
for...of Loop

for...of Loop (एरे और स्ट्रिंग के लिए) हिंदी व्याख्या:  for...of loop का उपयोग किसी array, string आदि की values क...

M2-R5.1
Read Now →
forEach() Method

forEach() Method (एरे के लिए) हिंदी व्याख्या: forEach() एक Array method है जो हर element पर function चलाता है। J...

M2-R5.1
Read Now →
break and continue

break and continue Statements:- हिंदी व्याख्या: break → लूप को पूरी तरह रोक देता है। continue → सिर्फ मौज...

M2-R5.1
Read Now →
Function in JS

Function  JavaScript में Function एक reusable code block होता है जो किसी specific task को perform करने के लिए बनाय...

M2-R5.1
Read Now →
Advantages of Function

Advantages of Function 1. Code Reusability एक ही function को कई बार use किया जा सकता है। Example:- function hello()...

M2-R5.1
Read Now →
Ways of Function Declaration in JavaScript

Ways of Function Declaration:- 1. Simple Function / Normal Function:- Definition जो function सामान्य तरीके से बनाया ज...

M2-R5.1
Read Now →
Types of Functions in JavaScript

Types of Functions in JavaScript JavaScript में Functions के प्रकार JavaScript में functions को अलग-अलग categories में...

M2-R5.1
Read Now →
String Function

2. String Function:- जो functions string data यानी text पर काम करते हैं उन्हें String Functions कहते हैं। इन functions...

M2-R5.1
Read Now →
User Defined Function

3. User Defined Function User Defined Function क्या होता है? जो function programmer खुद बनाता है उसे User Defined Func...

M2-R5.1
Read Now →
Event in JS

JavaScript Event :- जब Web Page पर कोई action होता है और JavaScript उस action पर response देती है, उसे Event कहते हैं।...

M2-R5.1
Read Now →
Mouse event

 Mouse Events Mouse से related events को Mouse Events कहते हैं। (1) onclick Event जब user किसी element पर cl...

M2-R5.1
Read Now →
Keyboard Events

Keyboard Events Keyboard से related events। (1) onkeydown Event onkeydown Event तब Execute होता है जब User Keyboa...

M2-R5.1
Read Now →
Form Events

Form Events Form से related events। (1) onsubmit Event जब form submit होता है। Example  ...

M2-R5.1
Read Now →
Window Events

Window Events Browser window से related events। (1) onload Event जब page पूरी तरह load हो जाता है। Example...

M2-R5.1
Read Now →
Drag Events

Drag Events Drag and Drop से related events। (1) ondrag Event जब element drag होता है। Example...

M2-R5.1
Read Now →
Touch Events

Touch Events Mobile devices में touch related events। (1) ontouchstart Event जब screen touch होती है। Example...

M2-R5.1
Read Now →
Form Validation in JS

  Form Validation :- English: Form Validation is the process of checking whether the user has filled the form c...

M2-R5.1
Read Now →
JavaScript Validation(Empty Field Validation)

JavaScript Validation :- Empty Field Validation:- Empty Field Validation का उपयोग यह जांचने के लिए किया जाता है कि क...

M2-R5.1
Read Now →
Password Length Validation

Password Length Validation:- Password Length Validation का उपयोग यह सुनिश्चित करने के लिए किया जाता है कि User द्वारा द...

M2-R5.1
Read Now →
Email Validation

3. Email Validation Email Validation का उपयोग यह जांचने के लिए किया जाता है कि User द्वारा दर्ज किया गया Email Address...

M2-R5.1
Read Now →
Number Validation

4. Number Validation Number Validation का उपयोग यह जांचने के लिए किया जाता है कि User द्वारा दर्ज की गई Value Number है...

M2-R5.1
Read Now →
AngularJS

  AngularJS  Introduction:- AngularJS एक popular client-side JavaScript framework है। इसकी...

M2-R5.1
Read Now →
Adding Library in JavaScript

Adding Library in JavaScript:- Library:- Library पहले से लिखा हुआ code होता है जो हमारे काम को आसान बनाता है। इसमें...

M2-R5.1
Read Now →
Model View Controller (MVC)

Model View Controller (MVC):- AngularJS framework में Model-View-Controller (MVC) architecture का उपयोग किया जात...

M2-R5.1
Read Now →
AngularJS Directives

AngularJS Directives  AngularJS में Directives विशेष प्रकार के HTML attributes या tags होते हैं, जिनका उपयोग HTM...

M2-R5.1
Read Now →
Types of Directives

AngularJS Directives के प्रकार (Types of Directives) AngularJS में मुख्य रूप से Directives दो प्रकार की होती हैं&mdas...

M2-R5.1
Read Now →
Built-in Directives(ng-app)

Built-in Directives:- ng-app Directive ng-app AngularJS का एक built-in directive है।इसका उपयोग AngularJS Application...

M2-R5.1
Read Now →
ng-init , ng-bindng , ng-model

ng-init:- ng-init AngularJS का एक built-in directive है।इसका उपयोग AngularJS Application में variables को initialize...

M2-R5.1
Read Now →
ng-repeat, ng-show, ng-hide

ng-repeat Directive In Hindi ng-repeat AngularJS का एक built-in directive है।इसका उपयोग list या array के data को बार...

M2-R5.1
Read Now →
ng-checked, ng-readonly, ng-disabled

ng-checked Directive In Hindi ng-checked AngularJS का एक built-in directive है।इसका उपयोग checkbox या radio button क...

M2-R5.1
Read Now →
AngularJS Expressions

AngularJS Expressions Introduction AngularJS Expressions का उपयोग HTML page में data को display करने और calculations...

M2-R5.1
Read Now →
Difference Between AngularJS Expressions and JavaScript Expressions

Difference Between AngularJS Expressions and JavaScript Expressions:-

M2-R5.1
Read Now →
Java Script Cheat Sheet

Java Script Cheat Sheet:-  

M2-R5.1
Read Now →