Auto-Growing Textareas Without JavaScript Using CSS field-sizing

For years, an auto-growing textarea has been one of those tiny frontend features that required surprisingly annoying JavaScript. The implementation was never particularly difficult. Listen for the input event, reset the height, read scrollHeight, apply the new height, and repeat the process every time the user types. Something like this: I have used variations of […]
CSS Relative Color Syntax: Build Dynamic Themes Like a Pro

For years, one small part of frontend development has bothered me more than it probably should. A designer gives you a primary brand color. Then you need a hover color, an active color, a light background variation, a border color, a focus ring, and maybe another variation for dark mode. Most of us have handled […]
AI Impact on Indian IT: How Software Engineers Can Pivot and Stay Relevant

Artificial intelligence is changing Indian IT faster than most technology shifts I have seen during my career. But I do not think the right question is, “Will AI replace software engineers?” The more useful question is, “What kind of software engineer will companies still need when AI can write a large part of the code?” […]