zod validation
| |

Zod: The Ultimate Validation Library for TypeScript

Zod is a TypeScript-first schema validation library. Unlike static type checking, Zod helps you to validate data dynamically at runtime. Whether user input, API response, or any data you want to validate, structure custom errors, Zod is the ultimate tool. I’ll go through the discussion on schema structure, custom validation, asynchronous checks, and demonstrate how…

javascript-dom-manipulation
|

JavaScript DOM Manipulation: A Beginner’s Guide

Initially, JavaScript was built to manipulate the DOM and capture user interaction. Nowadays, JavaScript is far from that and has established itself as a powerful cross-platform language. Although the old-school method may not be as popular in the modern era of React, Vue, and other libraries, it still has a place. Learning DOM manipulation helps…

javascript call stack and event loop
|

JavaScript Execution Context, Call Stack, Web API’s and Event Loop

JavaScript Execution Context Execution Context in JavaScript is a whole lot of things. I’ll describe it as my understanding and show you how this works in running script behind the scenes. There are two phases of Execution Context. Creation phase and execution phase. If you declare a variable in your code var myName = “codespoetry.com”,…