Recent blogs

Mastering The JavaScript Includes() Method

Mastering The JavaScript Includes() Method

Learn how to use the includes() method in JavaScript to search an array and return a boolean value indicating whether a specific value is present. Quick and easy guide for beginners."

#javascript
How To Sum Total From Array Of Object Properties With JavaScript Reduce Method

How To Sum Total From Array Of Object Properties With JavaScript Reduce Method

Calculating the total price for your shopping cart was a hassle in the days before the JavaScript reduce method. In this post, I will show you how easy it is to use the reduce method to calculate the total price of a product array in the shopping cart. The JavaScript reduce method is powerful and can calculate a total price based on an array of object properties.

#javascript
Mastering The JavaScript Find() Method

Mastering The JavaScript Find() Method

Searching specific values in arrays is easy with the JavaScript `find()` method. It doesn't matter if you want to find a string, number, boolean, or property of an object in an array. In this post, I will show you how to find values very easily. The find() Array method in JavaScript returns the first item in the array that matches your condition.

#javascript
Why Use TypeScript For JavaScript Development Today

Why Use TypeScript For JavaScript Development Today

One of the main reasons why TypeScript is important is that it allows developers to add type annotations to their code. This means that they can specify the data type of variables, function arguments, and return values, which can help prevent many common bugs and make the code easier to read and understand.

#typescript#javascript
How To Embed Youtube In Nuxt Website Via Markdown File

How To Embed Youtube In Nuxt Website Via Markdown File

Embedding Youtube in a blog build with Nuxt has never been easier. Include the lite-youtube-embed package, create a Nuxt plugin and component, and you can use it in all your Markdown content files.

#nuxt#vue
How I Earned $4K Blogging On Medium As A Developer

How I Earned $4K Blogging On Medium As A Developer

I started in 2016 by writing on Medium. And since 2020, I have started earning money with that. In 2,5 years, I earned ~$4000. I recently looked at that data and learned a few things by analyzing that data.

#blogging

JavaScript

Mastering The JavaScript Includes() Method

Mastering The JavaScript Includes() Method

Learn how to use the includes() method in JavaScript to search an array and return a boolean value indicating whether a specific value is present. Quick and easy guide for beginners."

#javascript
How To Sum Total From Array Of Object Properties With JavaScript Reduce Method

How To Sum Total From Array Of Object Properties With JavaScript Reduce Method

Calculating the total price for your shopping cart was a hassle in the days before the JavaScript reduce method. In this post, I will show you how easy it is to use the reduce method to calculate the total price of a product array in the shopping cart. The JavaScript reduce method is powerful and can calculate a total price based on an array of object properties.

#javascript
Mastering The JavaScript Find() Method

Mastering The JavaScript Find() Method

Searching specific values in arrays is easy with the JavaScript `find()` method. It doesn't matter if you want to find a string, number, boolean, or property of an object in an array. In this post, I will show you how to find values very easily. The find() Array method in JavaScript returns the first item in the array that matches your condition.

#javascript

Angular

How To Format a Value With Angular NGX-Formly

How To Format a Value With Angular NGX-Formly

Creating forms in Angular with NGX-Formly is super easy. But sometimes you want a little more, like formatting postal codes, phone numbers, or bank accounts. In this post, I will show you how you can do it.

#angular#ngx-formly#typescript
The Fastest Way To Build Lightweight Angular Content Service

The Fastest Way To Build Lightweight Angular Content Service

Some applications need multiple languages, but others need one language but have loads of content to re-use. In this article, I want to show you the fastest way to create a ContentService (some call it a dictionary) for your Angular application.

#angular#typescript

RxJS

You Don’t Have To Use Observables In Angular

You Don’t Have To Use Observables In Angular

In Angular, you can perform asynchronous actions in two different ways, Observables, and Promises. Most people pick Observables because every example on blogs and documentation tells you to do so. But why? Are Promises that bad? Or Observables that good?

#angular#typescript#rxjs
Two Ways To Unsubscribe Angular Observables

Two Ways To Unsubscribe Angular Observables

Angular is full of Observables. But is there is a mechanism that automatically unsubscribes your Observables when components get destroyed? Yes there is! You can use the async pipe or the takeUnitl method.

#angular#typescript#rxjs

Read more?

Check the archive for all of my blogposts.