โšก Learn JavaScript

JavaScript is the programming language of the Web. It brings web pages to life by making them interactive, handling user events, updating content dynamically, managing asynchronous operations, and building full-stack applications.

๐ŸŸข Beginner to Advanced: Start with the browser console, master core syntax, dive deep into closures, promises, async/await, DOM manipulation, OOP, and modern ES6+ features.

๐Ÿ“– What You Will Learn

  • How JavaScript runs in browsers and Node.js
  • Variables, data types, scoping rules (var, let, const, TDZ), and hoisting
  • Control flow, operators, loops, and error handling
  • Functions, closures, higher-order functions, and callback patterns
  • Advanced array operations (map, filter, reduce) and object handling
  • Asynchronous programming, Promises, async/await, and Fetch API
  • Object-Oriented JS, Prototypes, this binding, and ES6 Classes
  • DOM selection, event bubbling, event delegation, and Web Storage APIs
  • Modular JS architecture (import/export), DevTools debugging, and building real-world projects

๐Ÿ“š Lessons

#TopicLevelLink
01Set Up JavaScript Environment๐ŸŸข BeginnerOpen lesson
02Introduction to JavaScript๐ŸŸข BeginnerOpen lesson
03Variables (let, const, var)๐ŸŸข BeginnerOpen lesson
04Data Types & Memory Allocation Module๐ŸŸข BeginnerOpen module
05Operators in JavaScript๐ŸŸข BeginnerOpen lesson
06Conditionals (if, switch, Ternary)๐ŸŸข BeginnerOpen lesson
07Loops (for, while, for...of, for...in)๐ŸŸข BeginnerOpen lesson
08Functions Module in JavaScript (Declarations, Arrows, Parameters, HOFs, Closures & Explicit Binding)๐ŸŸข BeginnerOpen module
09Arrays & Functional Transformations Module๐ŸŸก IntermediateOpen module
10Objects, Maps, Sets & RegExp Module๐ŸŸก IntermediateOpen module
11ES6+ Scope, Hoisting & Syntax Module๐ŸŸก IntermediateOpen module
14Higher-Order Functions & Closures๐Ÿ”ด AdvancedOpen lesson
15Asynchronous JavaScript Module (Promises, Async/Await & Fetch API)๐Ÿ”ด AdvancedOpen module
18Object-Oriented JavaScript Module (Prototypes, this & Classes)๐Ÿ”ด AdvancedOpen module
19DOM & Events Module (DOM Selection, Events & Web APIs)๐ŸŸก IntermediateOpen module
21Web Storage & Cookies Module๐ŸŸก IntermediateOpen module
22JavaScript Error Handling Module (Try/Catch/Finally & Custom Errors)๐ŸŸก IntermediateOpen module
23JavaScript Modules Module (ESM Import/Export & CommonJS)๐ŸŸก IntermediateOpen module
24Comprehensive JS Mini Projects๐Ÿ”ด AdvancedOpen lesson
25JavaScript Debugging & DevTools Diagnostics Module๐ŸŸก IntermediateOpen module

๐ŸŽฏ Suggested Learning Flow

01โ€“08 Core Fundamentals โ†’ 09โ€“13 ES6 & Data Manipulation โ†’ 14โ€“16 Async JS & APIs โ†’ 17โ€“18 Prototypes & OOP โ†’ 19โ€“21 DOM & Storage โ†’ 22โ€“23 Errors & Modules โ†’ 24โ€“25 Mini Projects & DevTools Debugging

๐Ÿงช Practice Routine

For each lesson:

1. Read the explanation and study the code example.

2. Open your browser Developer Console (F12) or VS Code Node runtime.

3. Type out all examples manually to build muscle memory.

4. Tweak parameters, test edge cases, and inspect output.

5. Solve the "Try It Yourself" and "Mini Challenge" tasks.

โœ… Progress Checklist

  • [ ] I can write and execute JavaScript in browsers and Node.js.
  • [ ] I understand scope, closures, lexical environment, and hoisting.
  • [ ] I can use ES6 destructuring, spread/rest, and arrow functions effortlessly.
  • [ ] I can transform arrays using map, filter, and reduce.
  • [ ] I can handle asynchronous network requests using Promises and async/await.
  • [ ] I understand this binding, prototypes, and ES6 classes.
  • [ ] I can manipulate the DOM, delegate events, and store persistent user data.
  • [ ] I built interactive mini projects using modular code architecture.
  • [ ] I can debug runtime errors using browser DevTools and breakpoints.

๐Ÿงญ Navigation

โ† Repository Home | Start with Lesson 01 โ†’