Skip to content

Instantly share code, notes, and snippets.

View BrendinVenter's full-sized avatar
:octocat:
Learning React, Gatsby, Sanity.io

Brendin Venter BrendinVenter

:octocat:
Learning React, Gatsby, Sanity.io
  • Dubai, UAE
View GitHub Profile
// use a script tag or an external JS file
document.addEventListener("DOMContentLoaded", (event) => {
gsap.registerPlugin(ScrollTrigger);
gsap.to(".heading-style-h1", {
scale: 1,
duration: 2,
});
});