Javascript is a client-side scripting language primarily used to make web pages interactive. It’s responsible for the 'behavior’ of a website, i.e. how HTML elements and CSS style animate and move around on the page.