Javascript Closures Complete Guide - with practical use cases and examples
In this post, I explain how JavaScript Closures work and what is Lexical Scope in JavaScript. In the end, I will also show you examples of JavaScript Closures. Having some previous knowledge about how JavaScript variables and functions work is necessary to continue on with this post.
How to Improve Core Web Vitals: A Complete Guide for Developers
Are you looking to improve Core Web Vitals on your site, but don’t know where to start? Or have you tried making improvements but didn’t get the results you were hoping for? Then, this post is perfect for you. I’ll go over how to measure, optimize and get great Core Web Vitals on your site with a checklist at the end.
Destructure and rename variables with JavaScript, plus other cool JS destructuring use cases
Want to simplify your JavaScript code and extract the values you need from objects and arrays easily? Learn how to use destructuring! In this article, I'll show you how to destructure objects and arrays, rename variables, set default values, and merge arrays and objects. Plus, I'll also cover how to use destructuring in practical scenarios, such as extracting data from APIs and handling function parameters.
JavaScript Performance Testing Made Easy: A Beginner's Guide
As a developer, you understand the importance of creating fast, responsive websites. But, identifying and fixing performance issues can be a challenging task. In this post, I'll give you a beginner-friendly introduction to JavaScript performance testing. After this, you should be able to start debugging JavaScript performance issues on your own.
How to easily understand "this" in Javascript - with a simple visual chart
This post will help you figure out how you can easily find out the value of “this” in JavaScript. If you're in a hurry, there's a JavaScript this keyword cheat sheet at the end.