Quote:
Originally Posted by justinsftw
So is Java the program medium while Javascript is the language?
|
No no, they are actually completely separate languages.
Javascript is a scripting language that is embedded into HTML pages and cannot be used anywhere else. Most of the things on a web page that are dynamically moving, animating, or changing is most likely Javascript. Most websites depend on Javascript.Javascript is used for things like the Macinsiders menu at the top.
Java applications are standalone. This means you can run Java apps without the need for a web browser. Java is much faster than Javascript but not everyone supports Java in their browsers. Java is used for bigger applications such as a game, or a video player, etc..