Learn: What’s the Difference Between a URI and a URL?

Both of these mean different things, however are used alike. URI is sometimes confused with URL when in lowercase. How are these 2 different? A URI is an identifier of a specific resource generally. Like a page, or book, or a document. A URL is special type of identifier that also tells you how to access it, such as HTTPs, FTPs. If the protocolContinue reading “Learn: What’s the Difference Between a URI and a URL?”

Display: Grid in CSS explained

This shorthand guide to CSS Grid focuses on major settings required for an efficient grid parent container and the grid child container. Grid is known to be 2-directional systems. It can handle columns as well as rows. This is different from Flexbox which is used for 1-directional systems. This 2-directional system helps you get aContinue reading “Display: Grid in CSS explained”

How to add Dark Mode to any website?

Dark Mode toggle for Websites is the most demanding feature these days. Dark pixels help save energy in OLED displays while decreasing energy consumption in the case of other displays. It is mild on the eyes and puts less strain as compared to bright white light from the monitor. Implementing Dark Mode is as easyContinue reading “How to add Dark Mode to any website?”

How to use Sass in HTML file?

Sass stands for Syntactically Awesome Style Sheets. Sass is a preprocessor scripting language that is interpreted or compiled into Cascading Style Sheets. Sass is a stylesheet language that’s compiled to CSS. It allows you to use variables, nested rules, mixins, functions, and more, all with a fully CSS-compatible syntax. Sass helps keep large stylesheets well-organized and makes it easyContinue reading “How to use Sass in HTML file?”

What is dotenv and how to use it?

Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on The Twelve-Factor App methodology. https://github.com/motdotla/dotenv As early as possible in your application, require and configure dotenv. require(‘dotenv’).config() Create a .env file in the root directory of your project. Add environment-specific variables on new lines in theContinue reading “What is dotenv and how to use it?”