
Articles
JavaScript
JavaScript is probably one of the most‑used programming languages in the world, and a cornerstone of front‑end (and more general) web development. It enables the development of interactivity and features that HTML and CSS alone simply cannot, and includes more advanced concepts like closures, callbacks, and asynchronous programming.
Below you will find a subset of articles from my blog specifically about JavaScript. This is an area that I have worked with for many years, and have managed to write about quite a few times. There are two hundred ninety‑three collected together for you below.

Type Coercion in JavaScript: Implicit vs. Explicit Conversion. 
Using CommonJS to Implement Modules in JavaScript. Using CommonJS to Implement Modules in JavaScript

Controlled vs. Uncontrolled Components in React. Controlled vs. Uncontrolled Components in React

Why this Changes in JavaScript Event Handlers and Methods. Why
thisChanges in JavaScript Event Handlers and MethodsLooping in JavaScript ES5 and ES6: forEach and for...of. Looping in JavaScript ES5 and ES6:
forEachandfor...of
Asynchronous Module Definition (AMD) in JavaScript. Asynchronous Module Definition (AMD) in JavaScript

Getting Started with Callbacks in JavaScript. Getting Started with Callbacks in JavaScript

Primitive vs. Reference Types in JavaScript. Primitive vs. Reference Types in JavaScript

Lifting State up in React. Lifting State up in React

Check If Your Site is Running on localhost. Check If Your Site is Running on
localhost
Dynamically Create a Script Element with JavaScript. Dynamically Create a Script Element with JavaScript

How to Read JavaScript Errors and Stack Traces. How to Read JavaScript Errors and Stack Traces

Pass by Value vs. Reference in JavaScript. Pass by Value vs. Reference in JavaScript
Accessing a Random Element from an Array Using JavaScript. Accessing a Random Element from an Array Using JavaScript
Get the Number of Years Between Two Dates with PHP and JavaScript. Get the Number of Years Between Two Dates with PHP and JavaScript

Using data‑* Attributes and dataset in JavaScript. Using
data‑*Attributes anddatasetin JavaScriptDOM Traversal: closest() in Vanilla JavaScript and jQuery. DOM Traversal:
closest()in Vanilla JavaScript and jQuery
Using classList in JavaScript: add(), remove(), toggle(), and contains(). Using
classListin JavaScript:add(),remove(),toggle(), andcontains()