What's the difference between an Interface and an API?
Explains the difference between interfaces and APIs in programming, using examples from JavaScript and web development.
Zell Liew is a front-end developer, writer, and creator known for deep, practical explorations of CSS, JavaScript, accessibility, and modern web tooling. His work blends thoughtful technical guidance with personal reflections on life, work, and growth, and is frequently featured on CSS-Tricks and Splendid Labz.
341 articles from this blog
Explains the difference between interfaces and APIs in programming, using examples from JavaScript and web development.
Explains the concept of JavaScript prototypes, how they work, and their role in object-oriented programming and property lookup.
A developer compares JavaScript's performance.now and Date.now for measuring raw computing speed, sharing test methods and findings.
Explores the upcoming CSS Leading Trim property, which aims to solve web typography issues by enabling precise baseline grid alignment.
A developer introduces a personal JavaScript utility library, explaining its functions, npm installation, and the reasoning behind a single-repository format.
Explores alternative forms of feedback like body language, results, and emotions to improve in coding and other areas when direct feedback is unavailable.
A developer explores using separate SVG paths for mobile and desktop designs, inspired by Sarah Drasner's work on Netlify's site.
Explains the benefits of using getter and setter functions in programming for cleaner syntax and better code encapsulation.
A developer shares the process of creating a lightweight JavaScript library for deep merging objects while preserving accessor functions.
Explains how to copy object properties, including getters and setters, using Object.assign and property descriptors in JavaScript.
A guide to calculating the horizontal and vertical center points of a DOM element using JavaScript's getBoundingClientRect, with practical examples.
Explains the three types of polymorphism in programming (Adhoc, Parametric, Subtype) with JavaScript examples, going beyond typical OOP coverage.
Explains best practices for using arrow functions in JavaScript, focusing on handling the 'this' keyword in methods and nested functions.
A tutorial on extracting CSS translateX, translateY, and translateZ values from computed transform matrices using JavaScript.
A developer shares personal preferences and best practices for working with JavaScript array methods, focusing on immutability and readability.
A technical guide on setting up a modern web development environment using Eleventy, Snowpack, Sass, and PostCSS.
A developer shares initial observations and setup tips for Snowpack, a modern JavaScript build tool, highlighting its config order, mount scripts, and HMR capabilities.
A guide to overcoming mental blocks in programming by focusing on problem-solving logic and embracing errors as helpful feedback.
A developer shares custom keyboard shortcuts for Visual Studio Code's Integrated Terminal on Mac and Windows, focusing on toggling and splitting the terminal.
A guide to customizing Visual Studio Code keyboard shortcuts for seamless use across both Mac and Windows operating systems.