An Intro to VueJS

Flat painterly illustration of two developers with laptops under the heading An Intro to VueJS
VueJS makes building reactive, user-friendly interfaces simple and approachable for developers.

VueJS is one of today’s most popular frontend frameworks, known for being lightweight, flexible, and beginner-friendly. Many developers choose Vue because it’s easier to learn than Angular or React, while still offering powerful features for building dynamic web applications.

Continue reading “An Intro to VueJS”

Block Binding using JavaScript – Functions in Loops

Flat illustration of a developer at a laptop with abstract colorful blocks, symbolizing block binding in JavaScript functions within loops
Block binding in JavaScript makes functions inside loops behave as expected by using let or const.

When writing JavaScript, one of the classic headaches developers run into is how functions behave inside loops. If you’ve ever expected a function in a loop to “remember” the value of a variable at a specific iteration, only to find it doesn’t, you’ve bumped into scope and binding issues.

Let’s break this down and see how block binding can solve it.

Continue reading “Block Binding using JavaScript – Functions in Loops”