Add Search to a Static Site Using Custom Data Attributes
A tutorial on adding client-side search to a static website using custom data attributes and JavaScript to filter blog posts.
A tutorial on adding client-side search to a static website using custom data attributes and JavaScript to filter blog posts.
Learn how to use useEffect and useRef to access browser APIs like 'window' in Next.js, avoiding 'window is not defined' errors.
Explains JavaScript event handling in browsers and Node.js, covering built-in DOM events, custom events, and practical implementation.
A tutorial on implementing CRUD operations using plain vanilla JavaScript, manipulating the DOM to create, read, update, and delete data.
Explains how DocumentFragment improves DOM manipulation performance by reducing reflows, with code examples.
A guide explaining how to access screen, browser window, and web page dimensions using JavaScript properties.
Explains why using window.addEventListener('load') is better than window.onload in JavaScript to avoid overwriting event handlers.
A detailed guide on the author's process for creating concise, high-value educational videos, focusing on preparation and content structure.
An introduction to the Document Object Model (DOM), explaining its structure and demonstrating basic manipulation using JavaScript methods.
Explains the JavaScript event.target property, its difference from currentTarget, and practical use cases for DOM manipulation.
Explains the differences between inline event handlers and addEventListener() in JavaScript, covering syntax, scope, and best practices.
Explains how to use TypeScript's mapped and conditional types to create precise typings for DOM factory functions like document.createElement.
A tutorial showing two ways to scroll to specific items in a React list component using the native scrollIntoView API.
A technical guide exploring native HTML form elements and DOM APIs like document.forms for accessing and manipulating forms without frameworks.
Explains the Shadow DOM, a web technology for creating isolated, encapsulated DOM trees with their own elements and styles.
Explains the Document Object Model (DOM), its role in web development, and how it differs from source HTML.
A technical exploration of a CSS-Tricks challenge: how to create nested link functionality using a clever <object> element hack to work around HTML specification limitations.
Explores the limitations of JavaScript for styling web elements and introduces CSS as a more declarative and reactive alternative.
A frontend developer shares best practices for using id, class, and data attributes in HTML, CSS, and JavaScript to avoid conflicts.