-
Accessing all Variant Metafields in Shopify Liquid
A performant way for accessing variant metafields on product pages without using the storefront API.
-
A simple HTMX demo
A demo of how HTMX can work on any project
-
Speed up your storefront by loading scripts on demand
Some service integrations load needlessly on each page, increasing page load times.
-
Accessing the Browser Performance API to Prevent Showing Back/Forward Page Cache
A handy way to ensure that no page cache that should only be visible is showing on the page after logout
-
Send an HTTP request asynchronously with javascript & return the response
In this example we'll send a request to an endpoint, parse the response and load it into an HTML element
-
How to prevent Javascript functions from running until the DOM is ready
addEventListener and the DOM
-
Overview of Javascript's URL() Constructor
Set, get, append, delete all the properties of a URL easily with URL()
-
How to create an email newsletter sign up service Pt. 1
Create a basic HTML form that will post it's data to an endpoint via javascript
-
Find/Replace URL's with Javascript
How to change URL's once a page loads
-
What is a Data Layer?
A quick intro into dataLayers and how to create and access data from them
-
How to Set & Read Javascript Cookies
A tutorial on how to set and read javascript cookies
-
Javascript DOM Manipulation & Other Tricks
Some quick code samples of javascript dom manipulation and other handy snippets
-
How to Solve the Fizz Buzz Code Challenge
How to solve a common programming question often brought up during the interview process
-
How to use Macros in Google Tag Manager
A use case for using macros in Google Tag Manager