and is characterized as a dynamic, weakly typed, prototype-based language with firstclass
like Java, but to be easier for non-programmers to work with.
- A scripting language is a lightweight programming language.
simple syntax! Almost anyone can put small “snippets” of code into their HTML
like this: document.write(“<h1>” + name + “</h1>”) can write a variable text into
an HTML page.
something happens, like when a page has finished loading or when a user clicks
on an HTML element.
change the content of an HTML element.
form data before it is submitted to a server. This saves the server from extra
used to detect the visitor’s browser, and – depending on the browser – load another
page specifically designed for that browser.
retrieve information on the visitor’s computer.