Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

No errors but still no animation

Recommended Posts

Hey so I'm currently making an animated graph to show how often I skip a song on Spotify. All I'm trying to do right now is bring in "Spotify" however no animation plays despite chrome dev tools saying there is no error. Also, I commented out line 209 in my HTML because for some reason it cannot link my DrawSVGPlugin. If anyone can help with one or both of the problems I'd greatly appreciate it; thanks.

See the Pen RvpWNJ by Marc1311 (@Marc1311) on CodePen

Link to comment
Share on other sites

Hi @marc1311,

  Before I tell you why .. I want to say, "Don't worry ... we've all done this at some time."


Your id selector is missing "#".




tl.from("spotify", 1, {autoAlpha: 0, x:-20, ease:Bounce.easeOut});


Should be 


tl.from("#spotify", 1, {autoAlpha: 0, x:-20, ease:Bounce.easeOut});



I've also cleaned up your CodePen a bit. Javascript libraries should be called in with CodePen's Javascript settings and the HTML portion should only be what is *within* the <body>


See the Pen BMWoLE?editors=1010 by sgorneau (@sgorneau) on CodePen


Hope this helps!

  • Like 4
  • Thanks 1
Link to comment
Share on other sites

Can't believe that's what the issue was, I also figured out why I wasn't able to connect to my DrawSVGPlugin. Guess that's what happens when you don't code for a while, thanks

  • Like 2
  • Haha 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.