Recent blogs
5 Ways to Improve Your Coding Skills with ChatGPT: Tips and Tricks for Developers
Get better at coding with ChatGPT! This blog post provides five tips for using ChatGPT as your coding buddy, including spotting errors in code, brainstorming solutions to application problems, and improving code readability. Learn how ChatGPT can help you write better code and save time!
Revolutionize Your Programming with AI, ChatGPT & GitHub Copilot
Discover the top five benefits of incorporating AI into your work as a developer, use ChatGPT and Github Copilot. Don't get left behind – start using AI to revolutionize your programming skills today
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."
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.
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.
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.
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.
Convert A CSV To A JavaScript Array of Objects — The Practical Guide
The simplest way to convert a CSV file into a JavaScript Array of Objects is, using the JavaScript split, map, forEach, trim methods, and spread operator. In this post, I love to show you how you can exactly do that by using a file upload form.
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.
How to Convert a TypeScript Enum to a JavaScript Array or String
Subtract the data from the enum and remodel it into a JavaScript Array of Strings so you can use it for whatever you like.
JavaScript
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."
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.
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.
Angular
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.
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.
When To Use RxJS Subject, BehaviourSubject, ReplaySubject, AsyncSubject, or Void Subject in Angular
Angular has many types of Observables which you can use. Maybe you’ve seen RxJS methods like Subject, BehaviourSubject, ReplaySubject, or AsyncSubject in Angular. In this post, I want to dive deeper into what those types of Subjects are and when you should use them. So buckle up and enjoy the ride.
RxJS
When To Use RxJS Subject, BehaviourSubject, ReplaySubject, AsyncSubject, or Void Subject in Angular
Angular has many types of Observables which you can use. Maybe you’ve seen RxJS methods like Subject, BehaviourSubject, ReplaySubject, or AsyncSubject in Angular. In this post, I want to dive deeper into what those types of Subjects are and when you should use them. So buckle up and enjoy the ride.
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?
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.