PinnedSahil Garg·Jan 22, 2024Crack the code to make responsive websites — the easy wayMaking the desktop version is easy but when it comes to responsiveness, it becomes very difficult to scale the website down to mobile from…
Sahil Garg·Dec 31, 2024Automate your React/Vite app deployment to FTP (cPanel)Manually deploying your React/Vite app to the cPanel every time involves following a set of 7 steps shown in the section below. This is a…
InStackademicbySahil Garg·Dec 20, 2024How to setup WebSockets with Express JsWebsockets are a long-lived bi-directional communication link between the client and the server; you can communicate data to the client…
Sahil Garg·Oct 5, 2023Better way to make disabled variants of componentsWhen creating large projects or ones where you need full customization, it is usually a good practice to recreate the basic UI components…A response icon1A response icon1
InStackademicbySahil Garg·Oct 2, 2023Nesting in CSS — A better way to structure stylesCSS can be cumbersome to read. It becomes easily very difficult to figure out which is the parent and which is the child. Also, which is…A response icon1A response icon1
Sahil Garg·Sep 22, 20238 ways to center a div: The most common interview questionCentering a div is now a meme on internet but still to this day it is very common among software developers that they are not familiar…
Sahil Garg·Sep 19, 2023New way to create modals using HTML onlyAs HTML continues to evolve, the most used modal which were earlier implemented using JS have now gotten native support of HTML. It is…A response icon1A response icon1