Your Website Works With a Mouse, But Fails With a KeyboardFix keyboard accessibility issues, from clickable divs and hidden focus outlines to broken dialogs and form errors.8 min read·loknath-codes.hashnode.devOct 23
How to Call an API with JavaScript fetch() and Handle Errors Properlyfetch() doesn't throw on 404 or 500. Learn how to check response.ok, parse JSON, and handle errors and timeouts in JavaScript, step by step.8 min read·loknath-codes.hashnode.devOct 18
Session-Based Authentication in Node.js and TypeScript with HttpOnly Cookies and CSRF ProtectionLearn session-based auth in Node.js & TypeScript: HttpOnly cookies, secure session management, password hashing, and CSRF protection.32 min read·loknath-codes.hashnode.devOct 14
Why Your Node.js API Is Slow in Production: 10 Mistakes That Pass Code ReviewTested fixes for 10 Node.js production mistakes: blocked event loops, timeouts that never fire, N+1 queries, bad pools and more. Repo included.23 min read·loknath-codes.hashnode.devOct 12
7 Node.js Built-in Features That Can Replace npm PackagesA practical guide to 7 Node.js built-in features that can replace popular npm packages like axios, jest, nodemon, and dotenv. Fewer deps!9 min read·loknath-codes.hashnode.devOct 11