How to build a site like this?

I wonder how is it even possible, how to learn how to do these animations etc…how to decipher the code? What they used etc?