Jump to content
Search Community

My JSX does not like my JS file for the ScrollTrigger animations

thomas.henegar test
Moderator Tag

Recommended Posts

I went to this link, trying to incorporate this into my project. The JS file has been one error after another, like "Cannot read property 'addEventListener' of null " (line 68-69) or "TypeError: _toArray is not a function" (Draggable.js, line 2577). 

I had to import Draggable.js and ScrollTrigger.js to get the JS at that link to work, but now I am hitting all these errors.

Is there a simple solution, like to downloading something I missed??? Any help is appreciated, this is for my final project to graduate from coding bootcamp in 2 days!

See the Pen RwKwLWK by GreenSock (@GreenSock) on CodePen

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...