I cannot, for the life of me, get a simple pin to work using ScrollMagic. I don't know what I'm doing wrong. The website, as it is now, cannot get any simpler, yet when I try to add one pin to a div, it doesn't work. I've spent hours trying to figure it out, but yet here I am.
https://jsfiddle.net/v0z9hb6c/
My JS code:
var controller = new ScrollMagic.Controller();
var pinIntroScene = new ScrollMagic.Scene({
triggerElement: '#intro',
triggerHook: 0
})
.setPin('#intro')
.addTo(controller);
I'm currently stuck at a point where all I see is the intro div. Please help!