* A scripting language is a lightweight programming language.
swapping images when you move a cursor over them, to multi-level drop-down menus.
any special software other than a text editor and a Web browser, and you don’t need access to a Web server.
Here are a few examples of what you can do with JS:-
Change the look of the page, colors, fonts, switch images, etc. Validate and calculate forms, Animate things,Adjust the page to fit the user’s browser, resolution, platform, etc.
The code above will produce this output on an HTML page:-