8.7 Introduction to JavaScript
JavaScript is a programming language that is used to make websites interactive and engaging. It allows developers to create things like animations, games, and responsive features that react when you click buttons or move your mouse. For example, when you see a pop-up message on a web page or when an image changes when you hover over it, that's JavaScript at work. Execution of JavaScript in a flowchart is shown in Figure 8.7.
Figure 8.7: JavaScript Execution
Did You Know
JavaScript was created in just 10 days by Brendan Eich in 1995. It was initially called Mocha, then LiveScript, and finally JavaScript.