All articles

VIBEFIX GUIDES

AI Coding Guides

Practical knowledge for tools, deployment, workflows, and building projects.

Real photo: bare tree branches spreading against a blue sky with white clouds, shot from below
Guide
The page is a tree: DOM querying and traversal, explained plainly

The page is a tree, the menu its branches, the order cards its leaves. This guide follows MDN's querySelector, querySelectorAll, closest, matches, parentElement, and children references: taking the first and taking all, searching from a container, walking up, testing in place, parents and children, escaping, and live lists.

Data WorkflowsFrontend EngineeringAI Coding
Real photo: hands fitting large colorful jigsaw puzzle pieces together on a table
Guide
When one file can't hold it anymore: modules, import, and export, explained plainly

One main.js past six hundred lines, menu, orders, checkout, and printing squeezed together. This guide follows MDN's JavaScript modules, import, and export references: scripts vs modules, named and default exports, renaming with as, namespace imports, barrel modules, side-effect and JSON imports, hoisting and live bindings, dynamic import, top-level await, and import.meta.

Developer WorkflowFrontend EngineeringAI Coding