DEV Community

Discussion on: Fade-in animation on scroll with IntersectionObserver(Vanilla JS)

Collapse
 
miacan2021 profile image
Shiho Kazama | mia

I added Sample 3 in the Code Pen. Please check it.
It just remove else part and add 'entry.unobserve(entry.target)'.
Thank you!

Collapse
 
iwishyoucouldtalk profile image
Jason Reynolds

Thanks so much <3