
JavaScript is a 'client' side scripting language. That means that lines of 'code' are read by the user's browser as the page is received from the web server and then executed at the appropriate time. Many parts of this site use JavaScript, usually running quietly in the 'background', so that such things as image rollovers and sounds are loaded and executed. The menu on the left is driven by JavaScript and the 'colour changing' feature on the Text page is manipulated using JavaScript.
As well as allowing a web designer to influence the behaviour of the page it is also possible for JavaScript to be triggered by the user. Here is a simple general knowledge quiz that is evaluated and scored by javascript:
Quiz script provided
by
JavaScriptKit.com
![]()