|
 |
What is Javascript?
JavaScript is an object-oriented scripting language that lets you
build interactions between page content, the state of the browser, and
the actions of the reader.
It is object-orient loose type code, entered into the HTML tags
<SCRIPT LANGUAGE="JavaScript">
It then reads everything that follows until
the ending script tag:
</SCRIPT>
|
 |
How can Javascript make my web site better?
JavaScript is an object-oriented scripting language that lets you
build interactions between page content, the state of the browser, and
the actions of the reader.
|
Can you sink my battleship? This is a
example of Javascript.
"...We have located the enemy fleet under the command of Admiral Kompüter,
but do not yet have visual contact. We suggest the best course of action is to fire
at random into their vicinity and listen for the impact of the shells...
...Our intelligence sources indicate the composition of the enemy fleet is the same
as our own, and has likewise been forced to resort to the same tactics as ourselves. In accordance with
the rules of war, fire will be exchanged one shell at a time and vessels lost will be announced
immediately...
...As per your orders you have been placed directly in command of the fleet's guns. Select the target
location by clicking in the left-hand grid above. The right hand grid shows the status of our own fleet.
Information as to the remaining strength of the enemy will be relayed directly to your status bar...
...We believe this battle will not be over until one or other fleet is sunk in it's entirety. Our gunners
await your commands. We're counting on you, Sir..."
|