Jump to content
Search Community

Uncaught SyntaxError: Invalid or unexpected token

Shutt90 test
Moderator Tag

Recommended Posts

Tough to say from just screenshots, but your syntax seems to be good.... is there a specific reason for posting two screenshots?


Are you able to reproduce in a CodePen?

Are you loading the ScrollTrigger CDN? Are you registering the ScrollTrigger plugin? (gsap.registerPlugin(ScrollTrigger))
Does GSAP work at all? If not, are you loading GSAP before your custom js?

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...