Share Posted January 31, 2019 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 More sharing options...
Share Posted January 31, 2019 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 "#". This 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! 4 1 Link to comment Share on other sites More sharing options...
Author Share Posted January 31, 2019 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 2 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now