
Articles
JavaScript, page 14 of 19
JavaScript is the working language behind most of my front‑end writing, from small browser behaviours to application state and asynchronous code. These articles favour the mechanism behind a feature over a clever trick, whether the subject is callbacks, async code, or a language edge that only becomes obvious in production.

Using next/link for Client‑Side Navigation. Using

Event Delegation in JavaScript. Event Delegation in JavaScript
Event delegation in JavaScript manages child element events via a single parent listener. Here, I explore how it works, its benefits, and practical use cases.

The React Context API: When to Use It and When Not to. The React Context API: When to Use It and When Not to
The React Context API explained with Provider and Consumer examples, prop drilling trade‑offs, shared app state, and when context is not the right answer.

JavaScript Rendering and SEO Checks. JavaScript Rendering and SEO Checks
JavaScript rendering and SEO checks for pages that rely on client‑side behaviour, including content, links, metadata, fallbacks, and rendered output.

Merging Multiple Objects in JavaScript. Merging Multiple Objects in JavaScript
Merging objects in JavaScript is straightforward once you know the tools. This guide covers Object.assign(), spread syntax, and overwrite behaviour.

Submitting Forms with JavaScript and FormData. Submitting Forms with JavaScript and
FormDataSubmit native forms with JavaScript and FormData without losing files or repeated values. Let Fetch set the multipart boundary and handle failures correctly.

Event Bubbling vs. Capturing in JavaScript. Event Bubbling vs. Capturing in JavaScript
Event bubbling and capturing in JavaScript explained through propagation phases, event delegation, target/currentTarget, stopPropagation(), and handler order.

Leveraging JavaScript Frameworks for Efficient Development. Leveraging JavaScript Frameworks for Efficient Development
JavaScript frameworks streamline development with reusable components, state management, and optimised rendering. Here, I compare React, Vue.js, and Angular.

The Fetch API for Beginners: GET, POST, JSON, and Errors. The Fetch API for Beginners:
GET,POST, JSON, and ErrorsThe Fetch API for beginners, including GET requests, POST requests, JSON handling,
response.ok, and why failed fetches need explicit error checks.
Making CMS Templates Maintainable with HTML, CSS, and JavaScript. Making CMS Templates Maintainable with HTML, CSS, and JavaScript
Make CMS templates maintainable with clear HTML, scoped CSS, cautious JavaScript, reusable patterns, editor‑safe assumptions, and predictable output.

Tagged Template Literals in JavaScript. Tagged Template Literals in JavaScript
Tagged template literals let you intercept and reshape template literal output. This guide explains the syntax and why the feature can be useful.

Escaping and Unescaping Special Characters in JavaScript. Escaping and Unescaping Special Characters in JavaScript
Escape and unescape special characters in JavaScript for strings, HTML, regular expressions, safe output, parsing, and practical data handling.

Integrating CMSes with HTML, CSS, and JavaScript. Integrating CMSes with HTML, CSS, and JavaScript
Integrating CMSes with HTML, CSS, and JavaScript enables dynamic, flexible content management. Here, I explore best practices, performance tips, and SEO.

React Error Boundaries Explained. React Error Boundaries Explained
React error boundaries explained with fallback UI, componentDidCatch(), getDerivedStateFromError(), logging, placement strategy, and what they cannot catch.

Object.keys(), Object.values(), and Object.entries() Explained. Object.keys(),Object.values(), andObject.entries()ExplainedObject.keys(), Object.values(), and Object.entries() explained for JavaScript objects, including iteration, snapshots, validation, and helper choice.

Understanding File‑System Routing in Next.js. Understanding File‑System Routing in Next.js
File‑system routing in Next.js explained clearly, including the
pagesdirectory, nested routes, index files, and why routing feels simpler than custom setups.
JavaScript Hoisting: Variables, Functions, and More. JavaScript Hoisting: Variables, Functions, and More
JavaScript hoisting explained through bindings, variable initialisation, function declarations and the temporal dead zone, with examples of early access.

Closures in JavaScript: The Key to Lexical Scope. Closures in JavaScript: The Key to Lexical Scope
Closures let JavaScript functions retain access to parent scope variables. Here, I explore closures, scope, and practical uses for cleaner, more efficient code.