I have probelm with scrollTriger, its only works when i refresh website. Its my first time using it and i cant figure out whats wrong with code.
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/ScrollTrigger.min.js"></script>
<script>
gsap.from("#human",{
scrollTriger : {
scrub:true
},
y:200,
})
gsap.from("#drzewo",{
scrollTriger : {
scrub:true
},
x:200,
})
</script>