Aditya Dutta·Oct 28Finally, a <select> I Can Style Without Rebuilding It in JSThe little HTML element that never matched the designA response icon8A response icon8
Aditya Dutta·Oct 22JavaScript Memory: Where Do Your Variables Actually Live?You write a variable, assign it a value, and use it somewhere in your code.
Aditya Dutta·Oct 17I Built a JSON Explorer Because Finding One Value Shouldn’t Be This HardThere’s a particular kind of frustration every frontend developer knows.A response icon4A response icon4
Aditya Dutta·Oct 13async/await vs Promises: The Difference Most JavaScript Developers MissYou need to fetch some data from an API.
Aditya Dutta·Oct 6Why Does this Behave Differently in JavaScript?If you’ve worked with JavaScript for a while, you’ve probably seen something like this:
Aditya Dutta·Sep 29You’re Already Using JavaScript Closures. You Just Don’t Know ItClosures sound like an advanced JavaScript concept, but you’ve probably been using them in React code all along.
Aditya Dutta·Sep 17The DOM Is Not Your HTML: The Difference Every Frontend Developer Should UnderstandYou write HTML, but JavaScript doesn’t work directly with your HTML file. It works with the browser’s live DOM.A response icon1A response icon1
Aditya Dutta·Sep 14The JavaScript Problem That Web Workers Were Built to SolveWhen JavaScript has too much work to do, the answer isn't always more optimization. Sometimes, you need to move the work somewhere else.A response icon1A response icon1
Aditya Dutta·Sep 10Why JavaScript Is Single-Threaded — but Your Browser Isn’tJavaScript is single-threaded.A response icon1A response icon1
Aditya Dutta·Sep 2Your UI Changed. So Why Didn’t the Browser Paint It?You changed the DOM. Your JavaScript ran. So why did the user see nothing until much later?