Web Javascript
# JavaScript Guide
* * *
## JavaScript - Client-Side Scripting
JavaScript is a scripting language for the Web!
JavaScript is used by millions of web pages to enhance design, validate forms, detect browsers, create cookies, and for many more applications.
JavaScript is easy to learn
## JavaScript Examples
# My First JavaScript Program
This is a paragraph
Display Date
[Try it Β»](#)
Click the "Try it" button to see the online example.
* * *
## What is JavaScript?
* JavaScript is designed to add interactive behavior to HTML pages.
* JavaScript is a scripting language (a scripting language is a lightweight programming language).
* JavaScript consists of lines of executable computer code.
* JavaScript is usually embedded directly into HTML pages.
* JavaScript is an interpreted language (meaning that code is executed without pre-compilation).
* Anyone can use JavaScript without purchasing a license.
* * *
## Client-Side Scripting
JavaScript "dictates" browser behavior. This is known as client-side scripting (or browser scripting).
Server-side scripting "dictates" server behavior (see the ASP/PHP tutorials on this site).
* * *
## What Can JavaScript Do?
* **JavaScript provides a programming tool for HTML designers**
HTML creators are often not programmers, but JavaScript is a scripting language with extremely simple syntax! Almost anyone can put short code snippets into their HTML pages.
* **JavaScript can put dynamic text into an HTML page**
A JavaScript statement like this can put variable text into an HTML page: document.write("
YouTip