Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
Files and Binary Data in JavaScript: File, Blob, ArrayBuffer and Typed Arrays
We take files from the user via input and drag and drop, read Blobs and Files, go down to bytes with ArrayBuffer, typed arrays and DataView, and learn ES2026's base64/hex methods and file downloads.
Drawing with JavaScript Canvas: 2D Context, Animation and Pixel Data
We draw shapes, paths, gradients and text with the canvas 2D context, process images pixel by pixel, build an animation loop with requestAnimationFrame and fix blurriness on retina screens.
JavaScript Web Components: Custom Elements, Shadow DOM and Slots
We write our own HTML tag with customElements.define, learn the lifecycle callbacks and observedAttributes, and build a framework-free star rating component with Shadow DOM, template and slot.
JavaScript's Next Features: TC39 Stages, Temporal and using
We learn how a feature passes TC39's stages into the language, how Temporal (PlainDate, ZonedDateTime, Duration) fixes Date's problems, and resource management with using, with notes on Safari support.