Were these sites made using javascript?

first one

second one

what kind of things are involved in making such sites?What one needs to learn to be able to make such sites?