Jump to content
Search Community

anaig

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by anaig

  1. ah makes sense! by script do you mean this line: '<script src="js/script.js"></script>' or my actual gsap js script (to be moved before the closing </body> tag)? i understand now! it works thank you so much
  2. Hi there! I'm extremely new to GSAP (aka this is my first time trying things) and I'm coming across some weird stuff. So i'm trying to make that blob in the middle increase in size to take up the whole page as i scroll down. The problem is that it's working perfectly in codepen, but not on my live preview locally. Nothing happens in my live preview - when i scroll the blob stays the same, i can't get any animation to play. I also can't get the markers to show up on live preview. I'm using vscode and the live preview on my index.html file. This is what the <head> looks like in my index.html file: <head> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/ScrollTrigger.min.js"></script> <script src="js/script.js"></script> <link rel="stylesheet" href="css/stylesheet.css" type="text/css" charset="utf-8" /> <title>title</title> </head> Thanks in advanced for your help! Ana
×
×
  • Create New...