How to add days to a date in JavaScript (with code examples)

There are several use cases to add days to a date in JavaScript. For instance to…

Intro to Alpine.js: A JavaScript framework for minimalists

The innovation in front-end JavaScript frameworks is one of the great techno-cultural phenomena of our time. For…

How to use JavaScript Promise.all with real-life code example

Async execution and promises are not easy to understand in any language and JavaScript is no…

How to use JavaScript set type, a beginner’s guide

JavaScript Sets are a new type of object (with ES6) that allows creating a collection of…

How to wait 1 second in JavaScript (using setTimeout, Promise, and Delay)

Call it a wait, sleep, or delay in executing code in JavaScript. It can be done…