Custom Properties (CSS Variables): The Token System Every Project Needs
Use CSS custom properties as design tokens: primitive, semantic and component tiers, dark mode, @property, fallbacks, and the…
Category
Frontend development is building the part of a website or app that runs in the browser, using HTML for structure, CSS for presentation and JavaScript for behaviour. Modern frontend work adds component frameworks such as React, build tools, accessibility and performance tuning for Core Web Vitals. The aim is an interface that loads fast on any device and stays maintainable as features pile up.
72 articles
Use CSS custom properties as design tokens: primitive, semantic and component tiers, dark mode, @property, fallbacks, and the…
Advanced CSS selectors explained: the four combinators, attribute operators, structural and form pseudo-classes, and :is(), :where() and :not().
Ten React hooks that still matter in 2025, with when to use each and how they change component…
The CSS box model explained: box-sizing, margin collapse, display types, formatting contexts, containing blocks, and a fix for…
CSS cascade specificity inheritance explained: how the browser sorts declarations, scores selectors, and falls back when nothing matches.
Use Chrome document.designMode for temporary copy and layout mockups. Steps, limits, a11y warnings, and when to use DevTools…
Build and run a Hugo site with an updated Docker image. Dockerfile, build steps, and a clean local-to-container…
ARIA landmarks and semantic HTML: how header, nav, main, aside, footer, section, form and search map to roles,…
Details and summary build accordions in HTML: the open attribute, toggle event, exclusive groups with name, styling the…
Practical JavaScript AI tutorial: local embeddings in Node, browser image classification with Transformers.js, ONNX/WebGPU notes, and a ship…
The HTML popover API explained: the popover attribute, popovertarget buttons, auto vs manual, top layer, light dismiss, styling…
The picture element handles art direction and format switching: media and type on source, AVIF and WebP fallbacks,…
Srcset and sizes explained: x and w descriptors, how the browser picks an image, worked examples, writing accurate…
Native lazy loading for images and iframes: browser thresholds, why lazy-loading your LCP image hurts, layout shift, and…