h.dhairyashah.devWhat is a slug and how to create one?A slug is a piece of text that is attached to the end of a URL (after the backslash "/") that is unique and locates the specific page of a website. The use of a slug can provide dual benefits for a website. Firstly, it can improve the website's SEO p...May 18, 2023·3 min read
h.dhairyashah.devHow to read a CSV file in Python using Pandas?To read a CSV file in Python using pandas, we need to use read_csv the method in Pandas. Step 1: Import pandas to the file import pandas as pd Step 2: Use read_csv method to read a CSV file df = pd.read_csv('file_name.csv') Tada! You have s...May 18, 2023·1 min read
h.dhairyashah.devNo JavaScript Required: Adding Dark Mode to Your Website with CSSDark mode has become an essential accessibility feature for websites, providing a visually comfortable experience for users in low-light environments. In this article, we will guide you on how to add dark mode to your website using CSS without the ne...Mar 8, 2023·1 min read
h.dhairyashah.devDebugging Front-end Apps: Make It Easier with These Simple TechniquesThe term "debugging" indicates that it involves eliminating or getting rid of "bugs" and errors in the code. Debugging is a crucial step in building software that involves identifying and resolving the bugs in the software’s source code. Debugging ca...Feb 25, 2023·6 min read
h.dhairyashah.devStyle number likes Social media with JavascriptAll the big social media sites format their numbers like 12.3M or 1.2B: To format the numbers from 19223324 to 19M, we don't need to use any third-party API, or npm package, we just need to write the following: Just joking, we won't be using this h...Nov 21, 2022·1 min read