JS

JavaScript — Advanced

AdvancedBrowser · 9 lessons

Understand how JavaScript really runs and build fast, safe, reusable front-ends: the browser event loop, iterators and generators, Proxies for reactivity, performance techniques, Web Workers, Web Components, and defending against XSS.

Lessons

  1. 1The Event Loop, Tasks & RenderingWhy the page freezes, how tasks and microtasks are ordered, and where rendering fits in.Solution4-question quiz
  2. 2Iterators, Generators & SymbolsMake your own objects work with for...of and spread, and produce values lazily with generators.Solution4-question quiz
  3. 3Proxy, Reflect & Building ReactivityIntercept property access with Proxy and build a tiny reactive store that updates the page automatically.Solution4-question quiz
  4. 4Testing JavaScriptUnit tests with Node's built-in test runner: assertions, table tests, async code, mocks and coverage.Solution4-question quiz
  5. 5Performance: Debounce, Throttle & ObserversControl how often expensive code runs, animate smoothly, and load content only when it's visible.Solution4-question quiz
  6. 6Web WorkersRun heavy computations on a background thread so the page never freezes.Solution4-question quiz
  7. 7Web ComponentsCreate your own reusable HTML elements with Custom Elements, Shadow DOM and slots.Solution4-question quiz
  8. 8Front-End Security: XSS & CSPHow cross-site scripting happens, safe DOM APIs, sanitising HTML, safe URLs and Content Security Policy.Solution4-question quiz
  9. 9Introduction to ReactComponents, props, JSX, state with useState, lists with keys, controlled forms and loading data with useEffect.Solution4-question quiz
Start with lesson 1 →
Ask AI