JavaScript
Computer Science: OCR A Level, topic 3.4.3
JavaScript
Javascript is a well-established and versatile scripting language used to add interactivity to a web page.

JavaScript
- JavaScript is a ‘client-side’ scripting language.
- This means it is run on the user’s computer, rather than on the webserver.
- The code is interpreted rather than compiled, meaning it can run on any type of computer or web browser.
- With client-side processing, actions can be completed without having to connect to the webserver.
- This makes actions quicker and more efficient.

Uses
- JavaScript can be used to create an expanding navigation menu or change the colour of a button when the mouse hovers over it, for example.
- JavaScript can also be used to make in-browser games and interactive art.
Test yourself on JavaScript
What is a program written in a 'client-side' programming language run on?
Benefits of client-side processing