Copy Stripe.com Gradient animation using Github/CDN HELP!

Hello Everyone,

If anyone could help me or give assistance on what I am missing or doing wrong. The Javascript animation is not showing up. I have the code in a Github Repository and using JSDelivr. The JSDelivr link works - https://cdn.jsdelivr.net/gh/kuchtaa/Stripe-Gradient@main/gradient.js


Here is my site Read-Only: https://preview.webflow.com/preview/visceral?utm_medium=preview_link&utm_source=designer&utm_content=visceral&preview=c73c61a9d256849fb8bbb4223604ad57&pageId=5f1a5d3314ceba144dfeacd6&mode=preview

Published link: https://visceral.webflow.io/test

Hi @christopher_kuchta,

If you have a look at the page source of your test page, you see you have two times the id of gradient-canvas in you document. This might be an issue as id have to be unique.

Thanks @anthonysalamin. Happened to have had the javascript line wrong :upside_down_face: Had <> src=“code” </>

instead of < src=“code”></>

Working now! Thank you for your help!