7 tips to write better and clean codeWriting clean, efficient, and maintainable code is a crucial aspect of software development. It enhances the readability and ensures smoother collaboration with fellow developers. In this blog, I will explore some key practices and tools that can sig...Feb 2, 2024·3 min read
Browser storage - Localstorage, cookies and sessionIntroduction In web development, there are a lot of times when we have to store some user data on the browser storage to make our website more user-friendly. Data like user preferences(like dark or light theme, website language, etc.), session manage...Jun 14, 2023·4 min read
A guide to Async/AwaitIntroduction Asynchronous programming is a crucial concept in JavaScript, allowing developers to execute tasks without blocking the main execution thread. There are a few approaches to handling asynchronous tasks in javascript, but the best one and a...Jun 9, 2023·4 min read
Making a custom React HookIntroduction Today we'll work on creating a custom counter hook that encapsulates counter logic and allows us to build reusable and efficient components. Our custom counter hook will provide functionalities to increase, decrease, and reset a counter ...Jun 6, 2023·3 min read
Implementing Dark theme using TailwindCSS in 5 minsMany of us including me, thought that implementing dark theme in any application is a lot of work. But then I learned TailwindCSS, and I found out that TailwindCSS makes implementing a dark theme in your application very easy. Overview We will build ...May 13, 2023·4 min read
How to implement Drag n Drop in your React projectOverview Today, many websites have Drag and Drop functionality whenever there are some items that need to be rearranged. It increases the user experience many folds. Also, it is very simple to implement. In this blog, I will show you how you can impl...May 1, 2023·6 min read
Making a Simple Ping Pong Game in Javascript using Phaser [No Phaser experience required]Overview Have you ever wanted to create your own simple game, but didn't know where to start? We create a simple paddle and ball game using Phaser. The rule for the game will be to not let the ball fall on the ground using a paddle. Although there is...Apr 15, 2023·8 min read