JavaScript is a text-based programming language used both on the client-side and on the server-side that allows you to make web pages interactive. Where HTML and CSS are languages that provide structure and style to web pages, JavaScript provides interactive elements to web pages that engage the user. See -
What is javascript ?Common examples of JavaScript you can use every day include the search box on Amazon, a news recap video embedded on The New York Times, or refreshing your Twitter feed.