How to use Vanilla JavaScript to listen for and emit events

How to use Vanilla JavaScript to listen for and emit events

How to listen for and emit events using only JavaScript and the DOM. If you are a Web Developer, you known that everything begins with events

July 5, 2023 · 3 min
JavaScript bind() function: How to Handle Context

JavaScript bind() function: How to Handle Context

The bind function is used to create a new function to change the context. Creating a new function with a new context and arguments

March 30, 2023 · 3 min
You must use Prettier as the code format for your TypeScript or JavaScript project.

You must use Prettier as the code format for your TypeScript or JavaScript project.

Prettier formats your code according to a set of rules. It supports a wide range of formatting options, indentation, line length and spacing.

March 22, 2023 · 4 min
JavaScript: What is an Immediately Invoked Function Expression (IIFE)?

JavaScript: What is an Immediately Invoked Function Expression (IIFE)?

An Immediately Invoked Function Expression is made by wrapping a function expression in parentheses and then invoking it immediately

March 8, 2023 · 3 min
Unlock NGINX hidden powers with Javascript module (NJS)

Unlock NGINX hidden powers with Javascript module (NJS)

Develop a proxy to handle API calls with validation; the PokeAPI is used to supply some data because everyone loves Pokemon.

October 23, 2022 · 3 min