logo for Robbie Crenshaw
  • About
    (01)
  • Projects
    (02)
  • Snippets
    (03)
  • Contact
    (04)

Coding Snippets for web developers

Snippets

Back

A collection of useful code snippets I‘ve acquired during my journey. Most of which are JavaScript based, including some Serverless Functions, which include set up instructions. You can also check out my Codepen for more CSS related snippets.

useScrollDirection Custom Hook

test

A custom React hook to detect user scroll direction

Spotify Top Tracks

test

Fetch and display your Spotify top tracks list

Spotify Currently Playing

test

Display the song currently playing on your Spotify account

Mailchimp Newsletter Subscribe

test

Send form submission data to Mailchimp list

URL Parameters as Objects

test

Creates an object containing the parameters of the current URL.

Update Google Sheets

test

Send submitted form data to a Google Sheet

Loading...

Crenshaw

Drop me a line!

Send a Email

GitHub

@robbiecren07

CodePen

@robbiecren07

Twitter

@robbiecren

©2023 Robbie Crenshaw, All Rights Reserved.