I'm confused but interested.
I think he has an intersection observer that adds a class like "in-view". When that class shows up, an animation plays like.
from {
opacity: 0;
}
to {
opacity: 1;
}
So the "default" state of the element needs to be opacity 0.
How would you go about this?