Mert Özen Further With Every Line

Blog

Mert Özen's blog posts on software development, backend, frontend, and DevOps.

Series
293 posts found
Advanced JavaScript Events: Bubbling, Capturing, Event Delegation and CustomEvent
Frontend PART 13

Advanced JavaScript Events: Bubbling, Capturing, Event Delegation and CustomEvent

We walk through the capturing, target and bubbling phases, stopPropagation, event delegation with a single listener, the once/passive/signal options, CustomEvent and pointer events, with runnable examples.

3 Nov 2026 9 min 56
Advanced DOM in JavaScript: Navigation, closest, dataset, template and Batched Updates
Frontend PART 12

Advanced DOM in JavaScript: Navigation, closest, dataset, template and Batched Updates

We navigate the DOM with parent, children, siblings and closest, use dataset, insertAdjacentHTML, DocumentFragment, template, cloneNode and getBoundingClientRect, then meet reflow and batch our updates.

3 Nov 2026 9 min 61
JavaScript Fetch API: GET, POST, response.ok, Timeouts and an Intro to CORS
Frontend PART 11

JavaScript Fetch API: GET, POST, response.ok, Timeouts and an Intro to CORS

We fetch and send data with the Fetch API and see why a 404 skips catch, how response.ok helps, POST/PUT/DELETE, timeouts with AbortSignal.timeout, CORS, and showing loading and error states.

3 Nov 2026 9 min 58
JavaScript async/await: Readable Async Code, Error Handling and Waiting in Parallel
Frontend PART 10

JavaScript async/await: Readable Async Code, Error Handling and Waiting in Parallel

We see why async functions always return promises, how await waits without freezing the page, catching errors with try/catch, sequential versus parallel waiting, the await-in-a-loop trap and top-level await.

3 Nov 2026 8 min 61
JavaScript Promises: Three States, the then/catch/finally Chain and Error Propagation
Frontend PART 09

JavaScript Promises: Three States, the then/catch/finally Chain and Error Propagation

We build the three promise states with a restaurant buzzer analogy and work through new Promise, then/catch/finally, chaining, error propagation, Promise.all and race, and wrapping callbacks.

3 Nov 2026 8 min 60
Intro to Asynchronous JavaScript: The Call Stack, the Event Loop and Callbacks
Frontend PART 08

Intro to Asynchronous JavaScript: The Call Stack, the Event Loop and Callbacks

We see how single-threaded JavaScript handles waiting without freezing the page through the call stack, Web APIs, the callback queue and the event loop, and unpack setTimeout(fn, 0) and callback hell.

3 Nov 2026 8 min 60
JavaScript Classes: Constructor, Getters/Setters, Static and Private Fields
Frontend PART 07

JavaScript Classes: Constructor, Getters/Setters, Static and Private Fields

We build class syntax with a cookie-cutter analogy and work through constructors, getters/setters, static members, # private fields, extends and super, then see that a class is really prototypes underneath.

3 Nov 2026 9 min 62
JavaScript Error Handling: try/catch, Custom Error Classes and Error Chains with cause
Frontend PART 06

JavaScript Error Handling: try/catch, Custom Error Classes and Error Chains with cause

We learn try/catch/finally and throw, the built-in error types, writing your own error class with extends Error, error chains with ES2022's cause, Error.isError (not in Safari yet) and showing errors to users properly.

3 Nov 2026 10 min 55
JavaScript Map and Set: Key-Value Collections and the New Set Methods
Frontend PART 05

JavaScript Map and Set: Key-Value Collections and the New Set Methods

We learn how Map differs from objects, unique values with Set, iteration, set operations such as union and intersection from ES2025, and ES2026's getOrInsert, with a quick look at WeakMap.

3 Nov 2026 8 min 52
JavaScript this, call, apply and bind: How Is the Value of this Decided?
Frontend PART 04

JavaScript this, call, apply and bind: How Is the Value of this Decided?

We learn how this is decided by the way a function is called, the lost method trap, the this of arrow functions, setting this with call, apply and bind, this in event handlers, and partial application with bind.

3 Nov 2026 8 min 64
JavaScript Scope, Hoisting and Closures: Where Do Variables Live?
Frontend PART 03

JavaScript Scope, Hoisting and Closures: Where Do Variables Live?

We learn global, function and block scope, the scope chain, how var, let, const and functions are hoisted, the TDZ, and closures through counters, private data and function factories, plus the closure-in-a-loop trap.

3 Nov 2026 9 min 55
JavaScript Array Methods in Depth: map, filter, reduce, toSorted and Object.groupBy
Frontend PART 02

JavaScript Array Methods in Depth: map, filter, reduce, toSorted and Object.groupBy

We make sense of map, filter, reduce, the find family, some/every and flatMap with an assembly line analogy, then try the non-mutating toSorted and with (ES2023) and grouping with Object.groupBy (ES2024).

3 Nov 2026 9 min 59
Blog Map