Loading…
Loading…
JavaScript
A complete JavaScript course — from the language fundamentals and the DOM to modern features, modules, async, tooling and the parts you actually reach for day to day. 140 articles with practice quizzes.
Persist data on the client: localStorage and sessionStorage, the storage event, JSON wrappers, cookies and their attributes (max-age, path, domain, Secure, HttpOnly, SameSite), the Cookie Store API, IndexedDB databases, transactions, indexes and cursors, quotas and eviction.
kvi5hnuCode Sprout team member9 minPush data from server to browser: how SSE keeps an HTTP response open, the text/event-stream format, EventSource events, IDs and reconnection, a Node chat server, WebSocket connections, messages, binary data, closing codes, reconnecting with backoff, and choosing between fetch, SSE and WebSockets.
kvi5hnuCode Sprout team member7 minMake HTTP requests with fetch: the two-step Response then body process, status and ok, headers, query parameters, JSON and form bodies, file uploads, streaming downloads with progress, CORS and credentials, AbortController and AbortSignal.timeout, request options and a reusable getJSON helper.
kvi5hnuCode Sprout team member8 minPlay and synthesize sound with Audio and the Web Audio API, read and change the URL with location, keep Back and Forward working in single-page apps with hashchange, pushState and popstate, structured clone, and the Navigation API that became Baseline in 2026.
kvi5hnuCode Sprout team member8 minPaint pixels with the canvas 2D API: getContext, paths, fill and stroke, sizing for devicePixelRatio, colors, gradients, line and text styles, shadows, compositing, save and restore, drawImage, transforms, clipping, ImageData pixel filters, animation loops and OffscreenCanvas.
kvi5hnuCode Sprout team member9 minUse SVG from JavaScript: SVG as images vs inline markup, viewBox and coordinates, styling SVG with CSS, scripting existing graphics (an animated clock), creating elements with createElementNS, the path d syntax, and building an accessible pie chart from data.
kvi5hnuCode Sprout team member7 minBuild reusable HTML elements with no framework: defining custom elements, lifecycle callbacks and observedAttributes, upgrades and :defined, shadow DOM encapsulation, :host, ::slotted and ::part, slots, event retargeting, declarative shadow DOM and form-associated elements.
kvi5hnuCode Sprout team member9 minMeasure and move around the page: viewport vs document coordinates, CSS pixels and devicePixelRatio, getBoundingClientRect and getClientRects, elementFromPoint, scrollTo and scrollIntoView, offset, client and scroll sizes, and IntersectionObserver and ResizeObserver.
kvi5hnuCode Sprout team member8 minControl presentation from JavaScript: toggling classes, the style property and units, cssText and setProperty, CSS custom properties, getComputedStyle, switching and constructing stylesheets, matchMedia, transition and animation events, the Web Animations API and prefers-reduced-motion.
kvi5hnuCode Sprout team member6 minModify web pages with JavaScript: attributes vs properties, value vs defaultValue, classList and dataset, textContent vs innerHTML and the XSS risk, insertAdjacentHTML, createElement, append, before, after, replaceWith and remove, cloning, DocumentFragment, templates and a table of contents.
kvi5hnuCode Sprout team member7 minFind your way around a web page: what the DOM tree is, Node vs Element, querySelector and querySelectorAll with CSS selectors, :scope and :has, closest and matches, getElementById and live HTMLCollections, document.forms, parent, child and sibling properties, text nodes and traversal.
kvi5hnuCode Sprout team member7 minHandle browser events properly: event types and categories, addEventListener options (once, passive, capture, signal), removing listeners, the event object, this and currentTarget, capture, target and bubble phases, delegation, preventDefault, stopPropagation, and custom events with CustomEvent.
kvi5hnuCode Sprout team member8 minHow JavaScript runs in a web page: script elements, defer, async and type="module" compared, where to put scripts, window and the global scope, DOMContentLoaded, load, pagehide and visibilitychange, the single-threaded rendering model, and the browser security basics every developer needs.
kvi5hnuCode Sprout team member10 minPut proxies to work and avoid their traps: change tracking and reactive state, negative array indexes, dynamic API clients and safe enums, why forwarding the receiver matters, the invariants that make traps throw, and why private fields, Map, Set and Date break through a proxy.
kvi5hnuCode Sprout team member7 minLearn JavaScript Proxy from the ground up: new Proxy(target, handler), transparent forwarding, get and set traps for defaults, validation and typo detection, has, deleteProperty and ownKeys for hiding properties, apply and construct traps for functions and classes, and Proxy.revocable.
kvi5hnuCode Sprout team member6 minLearn the Reflect API: thirteen functions that perform JavaScript's internal object operations directly, how they differ from Object methods (booleans instead of exceptions), the receiver argument for getters and setters, Reflect.apply and Reflect.construct with new.target, and its role in Proxy.
kvi5hnuCode Sprout team member5 minCustomize how built-in operations treat your objects with well-known symbols: Symbol.iterator and asyncIterator, toPrimitive hints, toStringTag for type labels, hasInstance for instanceof, species for array subclasses, isConcatSpreadable, the regex symbols match, replace and split, and unscopables.
kvi5hnuCode Sprout team member6 minLock objects down and inspect their prototypes: Object.preventExtensions, seal and freeze compared, why freeze is shallow and how to deep freeze, frozen arrays and the copying array methods, getPrototypeOf, setPrototypeOf, Object.create(null), __proto__, and when each is the right tool.
kvi5hnuCode Sprout team member6 minLook under the hood of JavaScript properties: data vs accessor descriptors, the writable, enumerable and configurable attributes, Object.defineProperty and defineProperties, defaults, getOwnPropertyDescriptor(s), copying getters correctly, read-only and hidden properties, and interview rules.
kvi5hnuCode Sprout team member6 minClean up files, connections, locks and timers automatically with using and await using: Symbol.dispose and Symbol.asyncDispose, reverse disposal order, behavior on errors and SuppressedError, DisposableStack and AsyncDisposableStack, disposable iterators, browser support and when to use it.
kvi5hnuCode Sprout team member7 min