Tagged “javascript”

  1. A Lightweight Way to Read GraphQL Data

    I share a lightweight function that will let you read a GraphQL endpoint without the need for heavy libraries. This is great for simpler use cases.

  2. How to make a color changing favicon

    Learn how to create a dynamic favicon with color-changing capabilities using JavaScript. This article goes line by line explaining how to do it. Additionally, discover how to update Safari's color scheme in real-time using the theme-color meta tag.

  3. A Javascript Component Pattern

    A walk through the typical JavaScript pattern that we use at my work.

  4. Javascript Fallback Values on Variables and Booleans - a hard lesson

    A lesson I learned using fallback values on a JavaScript variable, but ran into trouble when it dealt with a boolean.

  5. JavaScript events: .target vs .currentTarget