JavaScript is a programming language primarily used as a client-side scripting language
for controlling how web sites behave. In this environment the language complements
HTML, which describes the structure of web documents; and CSS, the style language that
defines their appearance. When embedded on a web page, JavaScript allows the page to
execute code and respond dynamically to user actions, providing responsiveness and
interactivity in a way not achievable using only HTML.
As the de fact...