CSS Container Queries
Learn CSS container queries: style a component based on the size of its container instead of the screen, with container-type, @container, container units like cqi, and style queries.
Tech lead and full-stack engineer, Bengaluru
I lead full-stack delivery for hospitality and SaaS products, from system architecture and API design to UI, third-party integrations and production deployment, across web, mobile and desktop.
Learn CSS container queries: style a component based on the size of its container instead of the screen, with container-type, @container, container units like cqi, and style queries.
Step-by-step system design of a URL shortener like bit.ly: requirements, traffic estimates, short code generation with Base62, the data model, redirects, caching, scaling and analytics, with tested Node.js code.
Learn how greedy algorithms work, when the greedy choice gives the best answer and when it fails, with tested JavaScript solutions for coins, meetings, knapsack and jump game problems.
Learn how React error boundaries stop one broken component from crashing your whole app: build one, add a retry button, reset it with a key, and know what it cannot catch.
Learn the Strategy and Observer design patterns with simple JavaScript examples: swap behaviour without if-else chains, and let many parts of your app react to one event.