A beginners guide to understanding JavaScript PromisesPromises in JavaScript are one of those topics where you find it hard to wrap your head around as a beginner. In this article, I'm going to help you with that. We will learn about promises and some of their common use cases with examples. Buckle up a...Jan 31, 2023 · 3 min readblog.ahnaf.dev
How to Clone a Project from GitHubIf you are reading this article you are probably new to the world of git, GitHub and version control or you have really forgotten to clone a project. There are two ways in which you can clone a project from GitHub. Method 1: Download the source code ...Aug 25, 2022 · 2 min readblog.ahnaf.dev
How JavaScript became a backend language (node.js)What is JavaScript JavaScript was initially introduced to add scripts(JavaScript programs are known as scripts) to web pages in the Netscape Navigator browser, since it's inception all the major browsers have adopted the use of JavaScript. Fast forwa...May 28, 2022 · 2 min readblog.ahnaf.dev
Line Height ExplainedHave you ever come across a situation where you used a paragraph element and you had no idea how it took more height or less. Well, in this article we are going to look at what line height does behind the scenes. Source What is a line height? Line...Aug 9, 2021 · 2 min readblog.ahnaf.dev
A beginner's guide to CSS shadows.Shadows are a useful design tool that can be used to add shadow effects around an element's frame. The box-shadow property gives the ability to add multiple shadow effects separated by commas. A box-shadow is usually described by X and Y offsets rela...Feb 10, 2021 · 2 min readblog.ahnaf.dev