JavaScript ट्यूटोरियल
Learn JavaScript from variables to async code, the DOM and real projects. A live console in every lesson, quizzes and projects.
Getting Started
- JavaScript क्या है? Find out what JavaScript is, what it does in the browser and beyond, write your first program and learn how the live console editors in this course work.
- JavaScript कहाँ चलती है Run JavaScript in the browser console, in web pages with script tags, from .js files and with Node.js, and learn the difference between the language and its host.
- स्टेटमेंट, एक्सप्रेशन और सिंटैक्स Learn the grammar of JavaScript - statements vs expressions, semicolons and automatic semicolon insertion pitfalls, case sensitivity, comments and code blocks.
- वेरिएबल: let, const और var Declare JavaScript variables with let and const, learn naming rules, why const objects can still change, why to avoid var, and what the temporal dead zone is.
- कंसोल और डिबगिंग के पहले कदम Use console.log, table, warn, error, group, count and time to inspect your code, read JavaScript error messages with confidence, and check values with typeof.
Data Types
- डेटा टाइप Learn the eight JavaScript data types, the difference between primitives and objects, how typeof works and where it surprises you, and what dynamic typing means.
- संख्याएँ (Numbers) Work with JavaScript numbers - integers and decimals, why 0.1 + 0.2 is not 0.3, NaN and Infinity, toFixed, parsing text into numbers and numeric separators.
- Math ऑब्जेक्ट Use the JavaScript Math object to round numbers, find minimums and maximums, generate random integers in a range, and calculate powers, roots and distances.
- स्ट्रिंग (Strings) Learn JavaScript strings - single, double and backtick quotes, escape sequences, length and indexing, why strings are immutable, joining text and comparing strings.
- स्ट्रिंग मेथड Master the JavaScript string methods you use every day - slice, indexOf, includes, startsWith, trim, split, replace, replaceAll, padStart, repeat and at().
- टेम्पलेट लिटरल्स Build strings the modern way with JavaScript template literals. Learn ${} interpolation, multi-line strings, embedded expressions and tagged templates.
- टैग्ड टेम्पलेट लिटरल विस्तार से Learn how tag functions really work - the strings and raw arrays, safe HTML escaping, parameterized SQL, dedent and currency tags, invalid escapes and chaining.
- बूलियन और ट्रूथिनेस Learn JavaScript booleans, the eight falsy values, how truthiness works in conditions, and how to convert any value with Boolean() or the !! trick.
- null और undefined Understand the difference between null and undefined in JavaScript, where each one appears, and the safest ways to check for missing values.
- टाइप कन्वर्ज़न और कोअर्शन Learn how JavaScript converts values between strings, numbers and booleans, both explicitly and through implicit coercion, and avoid the classic == surprises.
- BigInt और Symbol Meet JavaScript's two newest primitives. Use BigInt for integers beyond the safe limit and Symbol for unique keys, plus a quick look at well-known symbols.
Operators
- अंकगणितीय और असाइनमेंट ऑपरेटर Do math in JavaScript with + - * / % and **, understand precedence, increment and decrement, compound assignment like +=, and joining strings with +.
- तुलना और समानता (Comparison and Equality) Compare values in JavaScript with ===, !==, <, > and Object.is. Learn why == surprises, how strings compare, and why objects are compared by reference.
- लॉजिकल ऑपरेटर और शॉर्ट-सर्किटिंग Combine conditions with JavaScript's &&, || and ! operators, learn how short-circuit evaluation works, set defaults, and use ||=, &&= and ??= assignment.
- नलिश कोलेसिंग और ऑप्शनल चेनिंग Handle missing data safely in JavaScript with the ?? nullish coalescing operator and ?. optional chaining for properties, method calls and bracket access.
- बिटवाइज़ ऑपरेटर Learn JavaScript's bitwise operators &, |, ^, ~, <<, >> and >>>, how numbers become 32-bit integers, and how to store on/off options as bit flags.
- अन्य ऑपरेटर और प्रेसिडेंस Learn JavaScript's remaining operators – typeof, instanceof, in, delete, void and the comma – plus a clear precedence table and the bugs it explains.
Control Flow
- कंडीशनल: if, else if और else Make decisions in JavaScript with if, else if and else. Learn how conditions are tested, how blocks work, nesting, and clean guard clauses.
- टर्नरी ऑपरेटर और switch Choose values with the ternary operator, branch on many cases with switch, understand fallthrough, and learn when a lookup object beats both.
- for लूप Repeat code with the classic JavaScript for loop. Learn its three parts, counting up and down, looping over arrays, nested loops and off-by-one bugs.
- while और do...while Learn JavaScript while and do...while loops, when to choose them over for, how to write conditions that end, and how to avoid infinite loops.
- break, continue और लेबल Control loops precisely with break and continue in JavaScript. Exit early, skip items, and use labels to break out of nested loops cleanly.
- for...of और for...in Loop over arrays, strings, Maps and Sets with for...of, and over object keys with for...in. Learn the difference and the pitfalls of each.
Functions
- फ़ंक्शन Learn to write and call JavaScript functions. Covers function declarations, function expressions, hoisting, naming and how to split code into small pieces.
- पैरामीटर और आर्ग्युमेंट Pass data into JavaScript functions. Learn default parameters, rest parameters, the arguments object, options objects and how objects are passed.
- पास बाय वैल्यू और पास बाय शेयरिंग Learn how JavaScript passes arguments - copies of values, shared references to objects, mutation vs reassignment, nested data and how to protect the caller's data.
- रिटर्न वैल्यू (Return Values) Send results out of JavaScript functions with return. Learn early returns, returning objects and arrays, undefined by default, and pure functions.
- ऐरो फ़ंक्शन Write short JavaScript functions with the arrow syntax, use implicit returns, return object literals safely and learn when a regular function is better.
- स्कोप और होइस्टिंग Learn where JavaScript variables are visible, how global, function and block scope work, what hoisting really does and why let and const have a TDZ.
- क्लोज़र (Closures) Understand JavaScript closures with clear examples - counters, private state, function factories, once() helpers and the classic var-in-a-loop bug.
- हायर-ऑर्डर फ़ंक्शन और कॉलबैक Treat JavaScript functions as values - store them, pass them as callbacks, return them from other functions and build reusable helpers like compose.
- रिकर्शन (Recursion) Learn recursion in JavaScript - write base cases, trace the call stack, walk nested trees, compare recursion with loops and avoid stack overflow errors.
- this कीवर्ड Learn how JavaScript sets this in methods, plain function calls, arrow functions, classes and event handlers, and how to fix the classic lost this bug.
- call, apply और bind Use call(), apply() and bind() to choose this for a JavaScript function, borrow methods, fix lost this in callbacks and pre-fill arguments.
- फ़ंक्शनल प्रोग्रामिंग पैटर्न Learn practical functional programming in JavaScript - pure functions, immutable updates, IIFEs, currying, partial application, pipe and memoization.
Objects
- ऑब्जेक्ट (Objects) Create JavaScript objects with literals, read and change properties with dot and bracket notation, write methods, and use shorthand and computed keys.
- ऑब्जेक्ट के साथ काम करना List and transform object data with Object.keys, values, entries and fromEntries, merge with assign, check keys with hasOwn and in, and freeze objects.
- डीस्ट्रक्चरिंग Unpack values from objects and arrays into variables with destructuring. Learn defaults, renaming, nested patterns, swapping and destructured parameters.
- स्प्रेड और रेस्ट Learn the two jobs of JavaScript's three dots. Spread arrays and objects to copy and merge them, and use rest to collect leftover arguments and properties.
- गेटर और सेटर Create properties that run code when read or written. Learn get and set in objects and classes, computed values, validation and Object.defineProperty.
- JSON Convert JavaScript values to JSON text and back with JSON.stringify and JSON.parse. Learn formatting, replacers, revivers, dates, undefined and other pitfalls.
- ऑब्जेक्ट कॉपी करना: शैलो और डीप Understand object references in JavaScript, make shallow copies with spread and Object.assign, deep copies with structuredClone, and compare objects correctly.
- प्रॉपर्टी डिस्क्रिप्टर और ऑब्जेक्ट की सुरक्षा Control JavaScript properties with descriptors - writable, enumerable and configurable - and protect objects with freeze, seal, preventExtensions and deep freeze.
Arrays
- ऐरे Learn JavaScript arrays from scratch. Create them, read and change items by index, use length and at(), loop over them and check for arrays with Array.isArray.
- जोड़ना, हटाना और स्लाइस करना Add and remove array items with push, pop, shift, unshift and splice, copy parts with slice, and use concat, join, toSpliced and with without mutating.
- map, filter, reduce और forEach Transform arrays with map, pick items with filter, combine them with reduce and run side effects with forEach. Includes chaining and common mistakes.
- ऐरे में खोजना Search JavaScript arrays the right way. Use includes and indexOf for values, find and findIndex for conditions, findLast, and some and every for yes/no checks.
- ऐरे को सॉर्ट करना Sort JavaScript arrays the right way. Learn why numbers sort wrong by default, how comparator functions work, toSorted, reverse and localeCompare.
- ऐरे रेसिपी Practical JavaScript array recipes: group with Object.groupBy, remove duplicates, flatten with flat and flatMap, chunk, zip and build arrays with Array.from.
- सेट (Sets) Learn JavaScript Sets - store unique values, add, check and delete items, loop in order, and combine sets with union, intersection and difference.
- मैप (Map) Learn the JavaScript Map - keys of any type, insertion-order loops, converting to and from objects, and when to choose a Map, an object or a WeakMap.
- WeakMap, WeakSet और WeakRef Learn how weak references work in JavaScript - WeakMap for private data and caches, WeakSet for tagging objects, and WeakRef and FinalizationRegistry with care.
Classes and Objects in Depth
- प्रोटोटाइप (Prototypes) Understand JavaScript prototypes - how lookup walks the prototype chain, Object.create, own vs inherited properties, and how constructor functions use them.
- क्लास (Classes) Learn JavaScript class syntax - write a constructor, add methods, fields, getters and setters, create instances with new, and avoid pitfalls with this.
- extends और super के साथ इनहेरिटेंस (Inheritance) Learn JavaScript class inheritance - create subclasses with extends, call parent constructors and methods with super, override methods and use instanceof.
- प्राइवेट फ़ील्ड और स्टैटिक सदस्य Protect class internals with #private fields and methods, add static methods and fields that belong to the class itself, and run setup code with static blocks.
- इनहेरिटेंस की जगह कंपोज़िशन (Composition) Build JavaScript objects from small behaviors with delegation, factory functions, mixins and passed-in functions, and learn when a class is the right tool.
- JavaScript में OOP के सिद्धांत Apply encapsulation, abstraction, inheritance, polymorphism and the SOLID principles in JavaScript, and learn when plain functions beat classes.
- JavaScript डिज़ाइन पैटर्न Learn five practical JavaScript design patterns - module, observer, factory, singleton and strategy - with runnable examples and advice on when to use each.
Errors and Debugging
- एरर और try...catch Learn what JavaScript errors are, read the built-in error types, handle problems with try, catch and finally, and inspect the error object safely.
- एरर फेंकना और कस्टम एरर Signal problems from your own code with throw, build custom Error subclasses, wrap low-level failures with cause, and validate input the clean way.
- डीबगिंग तकनीकें Find bugs faster with browser DevTools breakpoints, the debugger statement, stepping, watch expressions and smarter console logging strategies.
- स्ट्रिक्ट मोड Learn what "use strict" does, which silent mistakes become real errors, how this changes, and why modules and classes are always strict.
Asynchronous JavaScript
- एसिंक्रोनस JavaScript कैसे काम करता है Understand how single-threaded JavaScript handles waiting: the call stack, the event loop, task and microtask queues, and predicting output order.
- setTimeout और setInterval Schedule code with setTimeout and setInterval, cancel timers, understand timer accuracy, and build debounce and throttle helpers for busy events.
- एसिंक्रोनस कॉलबैक (Asynchronous Callbacks) Learn how asynchronous callbacks work, write error-first callbacks, avoid the pitfalls of callback hell, and see why promises were invented.
- प्रॉमिस (Promises) Learn what a JavaScript promise is, create your own with new Promise, consume results with then, catch and finally, and chain async steps cleanly.
- async और await Write asynchronous JavaScript that reads like normal code with async functions and await, handle errors with try...catch, and run tasks in parallel.
- Promise.all, allSettled, race और any Run many async tasks at once with Promise.all, Promise.allSettled, Promise.race and Promise.any, and learn which combinator fits each job.
- fetch() से डेटा लाना Use fetch() to load and send data in JavaScript. Read JSON responses, check status codes, handle network errors, set headers and make POST requests.
- AbortController से रद्द करना Cancel fetch requests and other async work with AbortController, add timeouts with AbortSignal.timeout(), and remove event listeners with one call.
Modules and Tooling
- मॉड्यूल: import और export Split JavaScript into modules with import and export. Learn named and default exports, module scope, live bindings, dynamic import() and import maps.
- पैकेज, npm और बिल्ड टूल Understand the JavaScript toolchain - npm packages, package.json, semantic versions, bundlers, transpilers, linters and formatters - and what each tool does.
- Node.js के साथ सर्वर पर JavaScript Run JavaScript outside the browser with Node.js - process and argv, environment variables, fs/promises, path, a minimal HTTP server, npm scripts and ESM vs CommonJS.
- ESLint, Prettier और JSDoc टाइप Set up ESLint to catch bugs, Prettier to format code and JSDoc comments with checkJs to type-check plain JavaScript without leaving the language.
The DOM
- DOM Understand the DOM from JavaScript's side - node types, elements vs text nodes, the document and window objects, element interfaces and when scripts can run.
- एलिमेंट चुनना Find DOM elements with querySelector, querySelectorAll and getElementById, understand static NodeLists vs live HTMLCollections, and use closest() and matches().
- DOM कलेक्शन और टेबल Use the built-in DOM collections (forms, images, links, scripts), understand live HTMLCollection vs static NodeList, and build tables with insertRow and insertCell.
- कंटेंट बदलना Change page content safely with textContent, innerText and innerHTML, avoid XSS, and learn attributes vs properties, boolean attributes and dataset.
- स्टाइल और क्लास Change how elements look from JavaScript with classList, inline styles and CSS custom properties, and read final values with getComputedStyle.
- एलिमेंट बनाना और हटाना Build page content with createElement, insert it with append, prepend, before and after, move and clone nodes, use templates and remove nodes.
- इवेंट Go deeper with addEventListener - the event object, this, removing listeners, once, passive and signal options, keyboard, pointer and custom events.
- बबलिंग, कैप्चरिंग और डेलिगेशन Learn how events travel through the DOM in capture, target and bubble phases, when to stop propagation, and how event delegation works.
- फ़ॉर्म के साथ काम करना Handle forms in JavaScript - read fields with form.elements, collect values with FormData, use the constraint validation API and handle submit events properly.
- DOM में ट्रैवर्सल Move around the DOM tree with parentElement, children and siblings, learn element vs node properties, and walk trees with recursion and TreeWalker.
- DOM रेसिपी Short, reusable DOM recipes: store data on elements, test visibility and classes, detect DOM nodes, replace and remove elements, manage focus and set form actions.
- कस्टम एलिमेंट और Shadow DOM Build your own HTML tags with custom elements, hide their markup and styles inside shadow DOM, add slots for content and react to lifecycle callbacks.
Browser APIs
- ब्राउज़र ऑब्जेक्ट मॉडल (Browser Object Model) Explore the Browser Object Model - the window object, navigator, screen and location, alert/confirm/prompt dialogs, opening popups, printing and redirects.
- localStorage और sessionStorage Save data in the browser with localStorage and sessionStorage. Store objects as JSON, handle errors, expire old values and sync tabs with storage events.
- क्लाइंट-साइड स्टोरेज के लिए IndexedDB Store large structured data in the browser with IndexedDB - databases, object stores, indexes, transactions, cursors, upgrades and a small promise wrapper you can reuse.
- कुकीज़ (Cookies) Read, write and delete cookies with document.cookie, understand Expires, Max-Age, Path, Domain, Secure, SameSite and HttpOnly, and meet the Cookie Store API.
- URL, Location और History Parse and build URLs safely with URL and URLSearchParams, read and change location, and update the address bar with history.pushState for client routing.
- Intersection, Resize और Mutation ऑब्ज़र्वर Use IntersectionObserver for lazy loading and infinite scroll, ResizeObserver for size-aware components and MutationObserver to watch the DOM change.
- फ़ाइलें, Blob और Base64 Work with binary data in the browser - Blob and File objects, reading user-selected files, object URLs for previews, generating downloads and Base64 with btoa.
- रियल-टाइम डेटा: WebSockets और Server-Sent Events Push live data to the browser with WebSockets and Server-Sent Events - events, readyState, reconnecting with backoff, heartbeats, and choosing over polling.
- JavaScript सुरक्षा की बुनियादी बातें Protect your web pages - prevent XSS with safe DOM APIs, add a Content Security Policy, understand CORS and clickjacking, avoid eval and use secure randomness.
- Web Workers और पैरेलल JavaScript Run heavy JavaScript off the main thread with Web Workers - postMessage, structured clone, transferable buffers, error handling, a promise wrapper and when workers help.
- मीडिया और स्पीच API Capture the camera and microphone with getUserMedia, record with MediaRecorder, and talk with speech synthesis - permissions, constraints, errors and cleanup.
- ड्रैग एंड ड्रॉप API Build drag-and-drop interfaces with the HTML Drag and Drop API - draggable, dragstart, dragover, drop, dataTransfer, file drops, drag images and keyboard-friendly alternatives.
- JavaScript से Canvas पर ड्रॉइंग Draw shapes, paths, text and images on a canvas with the 2D context, then animate them smoothly with requestAnimationFrame and a delta-time game loop.
- ब्राउज़र में Streams API Process data chunk by chunk with ReadableStream, TransformStream and WritableStream - pipes, backpressure, tee(), and streaming fetch with progress.
- सर्विस वर्कर और Cache API Learn the service worker lifecycle (install, activate, fetch), the Cache API, and offline strategies like cache-first and stale-while-revalidate.
- फ़ुलस्क्रीन, पेज विज़िबिलिटी और स्क्रीन वेक लॉक Use the Fullscreen API, the Page Visibility API and the Screen Wake Lock API - request, exit, events, pausing work in hidden tabs, and re-acquiring locks.
- Geolocation, Notifications और Clipboard API Use permission-based browser APIs safely - geolocation, notifications and the async clipboard - with feature detection, the Permissions API, error codes and graceful fallbacks.
- XSS, CSRF और सुरक्षित DOM अपडेट Stop XSS by choosing safe DOM APIs, sanitizing HTML with an allowlist and adding CSP, and understand how CSRF works and how tokens and SameSite cookies stop it.
Built-in Tools
- तारीख़ें और समय Create and read JavaScript Date objects, work with timestamps, add days safely, avoid time zone traps, and see what the new Temporal API changes.
- Temporal API Learn the modern Temporal API for dates and times in JavaScript - plain dates, zoned times, instants, durations, math, comparison and support status.
- Intl से फ़ॉर्मेटिंग Use the built-in Intl API to format numbers, currencies, units, dates, relative times, plurals and lists for any locale, and to sort strings correctly.
- रेगुलर एक्सप्रेशन (Regular Expressions) Learn regular expression syntax in JavaScript - literal characters, character classes, quantifiers, anchors, groups, alternation and the flags that change matching.
- व्यवहार में रेगुलर एक्सप्रेशन Put regular expressions to work in JavaScript with test, match, matchAll, replace with functions, split, named groups, lookarounds and sensible validation.
- इटरेटर और जनरेटर Learn the iteration protocol behind for...of and spread, write generator functions with yield, build lazy and infinite sequences, and loop over async data.
- Proxy और Reflect Wrap objects in a JavaScript Proxy to intercept reads, writes and calls. Use traps with Reflect for validation, logging, defaults and reactive state.
- टाइप्ड ऐरे और बाइनरी डेटा Work with raw bytes in JavaScript - ArrayBuffer, Uint8Array and other typed arrays, DataView, endianness, TextEncoder, and SharedArrayBuffer basics.
Under the Hood
- मेमोरी मैनेजमेंट और गार्बेज कलेक्शन Learn how JavaScript stores values, how the call stack and garbage collector work, and how to find and fix memory leaks from listeners, timers and closures.
- JavaScript की टेस्टिंग Learn to test JavaScript - write unit tests with arrange-act-assert, build a tiny test runner, use test doubles, and see how Vitest, Jest and Playwright fit in.
- बेस्ट प्रैक्टिस और आम ग़लतियाँ Write clean, reliable JavaScript - naming and style conventions, avoiding globals, strict equality, and fixes for floating-point, this, async loop and mutation bugs.
- JavaScript परफ़ॉर्मेंस Make JavaScript faster - measure with performance.now and DevTools, pick better algorithms, batch DOM updates, avoid layout thrashing, lazy-load and use workers.
- JavaScript के संस्करण और इतिहास A short history of JavaScript and ECMAScript, the headline features of every version from ES5 and ES2015 to today, how TC39 works, and how to check support.
- लेगसी JavaScript: XMLHttpRequest और jQuery Read and modernize older JavaScript - XMLHttpRequest, jQuery basics, var-era patterns like IIFEs and self = this, and why JSONP was replaced by CORS.
- WebAssembly की बुनियादी बातें Learn what WebAssembly is, how to load and instantiate a .wasm module from JavaScript, call exports, provide imports, and share linear memory with typed arrays.
Projects
- प्रोजेक्ट: टू-डू ऐप Build a complete to-do app in plain JavaScript, step by step - state and rendering, adding, completing, filtering, editing and keyboard shortcuts.
- प्रोजेक्ट: क्विज़ गेम Build a timed quiz game in plain JavaScript, step by step - screens driven by state, answer checking, scoring, a countdown timer, results and keyboard play.
- प्रोजेक्ट: वेदर डैशबोर्ड Build a weather dashboard in plain JavaScript with async/await, a mock API, loading and error states, cancelled requests and Intl formatting.
- प्रोजेक्ट: ख़र्च ट्रैकर (Expense Tracker) Build an expense tracker in plain JavaScript with a validated form, a class for the data, reduce() totals, grouping by category and a CSS bar chart.
- प्रोजेक्ट: पाँच मिनी DOM ऐप्स Build five small DOM apps in plain JavaScript: a counter, a password generator, a show/hide password field, a palindrome checker and an image carousel.
- प्रोजेक्ट: GitHub प्रोफ़ाइल सर्च Build a GitHub profile search in plain JavaScript: a validated search form, fetch with loading and error states, rate limits, profile cards and repo lists.
- प्रोजेक्ट: सॉर्ट और फ़िल्टर होने वाली टेबल Build a data table in plain JavaScript: render rows from an array, sort by any column, search and filter, paginate, and make it accessible with aria-sort.
- प्रोजेक्ट: कैलकुलेटर Build a basic and a scientific calculator in JavaScript with a real expression parser instead of eval(): tokenizer, operator precedence, functions, degrees and radians.
- प्रोजेक्ट: डिजिटल और एनालॉग घड़ी, स्टॉपवॉच Build a digital clock with 12/24-hour and time zones, an SVG analog clock, and a stopwatch with laps. Learn setTimeout, requestAnimationFrame and performance.now().
- प्रोजेक्ट: टिक-टैक-टो और रॉक-पेपर-सिज़र्स Build Tic-Tac-Toe with win detection and an unbeatable minimax computer opponent, plus Rock-Paper-Scissors with a best-of-five match. Learn game state in JavaScript.
- प्रोजेक्ट: करेंसी, यूनिट और ग्रेड कन्वर्टर Build four converters in JavaScript - units and temperature, live currency rates with an offline fallback, binary/hex number systems and a weighted grade calculator.
- प्रोजेक्ट: पासवर्ड स्ट्रेंथ मीटर और OTP इनपुट Build a live password strength meter with a rules checklist and a six-box one-time-code input that auto-advances, handles backspace and accepts pasted codes.
- प्रोजेक्ट: लाइटबॉक्स और गैलरी फ़िल्टर Build a filterable image gallery and an accessible lightbox with the dialog element, previous/next navigation, keyboard support and wrap-around arithmetic.
- प्रोजेक्ट: स्टोरेज वाला नोट्स ऐप Build a notes app with create, edit, pin, search and delete, saved in localStorage with a safe wrapper, versioned data, JSON export and validated import.
- प्रोजेक्ट: टेक्स्ट एडिटर और वर्ड काउंटर Build a small text editor with a live word, character and reading-time counter, find and replace, undo-friendly editing and a download button using Blob.
- प्रोजेक्ट: लोन, BMI, टिप, उम्र और प्रतिशत कैलकुलेटर Build six form-driven calculators (loan, BMI, tip, age, percentage, aspect ratio) with a data-driven form builder, input validation and correct rounding.
- प्रोजेक्ट: QR जनरेटर और इमेज रीसाइज़र Build a QR code generator with your own encoder and an image resizer and compressor with canvas, toBlob and quality sliders, then download the results.
- प्रोजेक्ट: डार्क मोड, मोबाइल नेविगेशन, एक्सपैंडिंग कार्ड और एकॉर्डियन Build four interface patterns: a dark mode toggle that respects prefers-color-scheme, a responsive mobile menu, expanding cards and an accessible accordion.
- प्रोजेक्ट: प्रोग्रेस बार वाला मल्टी-स्टेप फ़ॉर्म और रेज़्यूमे बिल्डर Build a multi-step form wizard with validation, a progress bar and a review step, then a live resume builder with a print stylesheet for clean paper output.
- प्रोजेक्ट: स्टैक विज़ुअलाइज़र और सरल इमेज एडिटर Build an animated stack visualizer to see push and pop happen, then a non-destructive canvas image editor with brightness, contrast, filters, flip and rotate.
Data Structures and Algorithms
- JavaScript में डेटा स्ट्रक्चर Build stacks, queues, linked lists, binary search trees and graphs with JavaScript classes, and learn when a built-in Array, Map or Set is the better choice.
- सर्चिंग और सॉर्टिंग एल्गोरिदम Write linear and binary search, bubble, selection, insertion, merge and quick sort in JavaScript, understand Big-O notation, and watch a sort run step by step.
- हीप, प्रायोरिटी क्यू और डीक्यू Build a binary heap, a generic PriorityQueue with a comparator and a ring-buffer deque in JavaScript, then use them for scheduling, top-k and Dijkstra.
Practice and Review
- आगे कहाँ जाएँ: लाइब्रेरी और फ़्रेमवर्क Understand React, Vue, Svelte, Angular, Solid, Next.js, Express and Hono by building tiny versions of components, reactivity and virtual DOM diffing.
- JavaScript चीट शीट A one-page JavaScript cheat sheet - variables, types, operators, functions, objects, array and string methods, classes, async code, modules and the DOM.
- JavaScript प्रैक्टिस एक्सरसाइज़ 38 graded JavaScript exercises with live editors and hidden solutions, covering strings, functions, arrays, objects, classes, async code, the DOM, algorithms and classic interview questions.
- JavaScript इंटरव्यू प्रश्न 37 common JavaScript interview questions with clear, accurate answers, grouped by level from junior to senior, plus live this-context and output-prediction puzzles to run.
- ईमेल, यूज़रनेम, पासवर्ड, URL और नंबर वैलिडेट करना Practical JavaScript validation recipes - email, username, password strength, URLs with the URL constructor, numbers, ranges and the Constraint Validation API.
- ऑब्जेक्ट रेसिपी Ready-to-use JavaScript object recipes: flatten nested objects, filter and map values, pick or omit keys, swap keys and values, parse query strings, compare objects.
- संख्या और गणित की रेसिपी JavaScript number recipes with live examples: mean, median, standard deviation, GCD and LCM, binomial coefficients, rounding to a multiple, float comparison and base conversion.
- JSON रेसिपी: प्रिटी प्रिंट, CSV और HTML टेबल Practical JSON recipes: pretty print, convert JSON to CSV and back, build an HTML table, swap keys and values, edit attributes, handle dates and send JSON.