Why won't scroll reveal work even though my code is the same as what's in the documentation

#1

Hey friends I’m trying to set up scroll reveal in my JS to animate a bunch of stuff on my site. I’m starting with the h1 in the about section that reads ‘About Us’. I want to animate this for 2s and bring it up from the bottom. I watched a tutorial and read the documentation and followed it to the ‘T’, but I can’t get it to work? Plz help.

p.s I have my scroll reveal code in between the script tags in my html, but I also tried putting it in my script.js file

#2

No one can help unless you post the code you are using :slight_smile:

It could be any number of things from typos to incorrectly placed code or missing dependencies.

2 Likes