Melin's Blog

Latest posts

See all posts
  • The Best Way to Implement Tooltips in the Modern Era
    How native HTML interactions, CSS anchor positioning, and shaped borders can simplify a familiar UI component. Adapted from an article by zhangxinxu , originally published on Se...
  • Native JavaScript Form Validation: A Practical Guide to `checkValidity()` and Beyond
    Understand the browser’s validation tools—and connect them to an interactive, event-driven interface. Adapted from zhangxinxu’s original article, with updated technical explanat...
  • A Detailed Introduction to JavaScript’s URL() and URLSearchParams() APIs
    Parse URLs, manage query parameters, and resolve relative paths with native JavaScript. Author: zhangxinxu Originally published: August 26, 2019 Editorial note: This edition upd...
  • Watching the DOM: Five Ways to Detect Changes in JavaScript
    Understand what changed, choose the right signal, and keep your UI in sync. Adapted from zhangxinxu’s original article. Code examples are extracted and condensed from the suppli...
  • Quick Tip: The Difference Between `innerText` and `textContent`
    How layout, hidden elements, and line breaks change the text JavaScript returns. For years, I treated innerText and textContent as interchangeable. Browser compatibility encoura...
© 2026 • Melin
Press Esc or click anywhere to close