Javascript Introduction and Video tutorial
March 19th 2011 17:16
Link: jiansenlu.blogspot.com
Javascript is an object oriented scripting language designed for web development to produce dynamic web pages. For this purpose, Javascript code is embedded into the HTML code and interpreted by the client-side.
Javascript can enhance the dynamics and interactive features of your page by allowing you to perform calculations, check forms, write interactive games, add special effects, customize graphics selections, create security passwords and more.
Basic Syntax of Javascript:
1)Javascript files with extension .js or embed inside html
2) A Javascript code block starts with <script type="text/javascript"> and ends with </script>. You can embed your Javascript code block in html file.
3) The comment line starts with //, or start with /* and end with */
4) The JavaScript engine allows the string "<!--" to occur at the start of a SCRIPT element, and ignores further characters until the end of the line. JavaScript interprets "//" as starting a comment extending to the end of the current line. This is needed to hide the string "-->" from the JavaScript parser.
5) Declaration of JavaScript variable starts with var: var x=5; var carname="Volvo";
6) JavaScript is Case Sensitive
7) Other syntax, such as for, while, if, switch, is similar to C language.
Video: JavaScript tutorial playlist
(Click video to see Video, click tiny up arrow in control bar to return to menu.)
Javascript can enhance the dynamics and interactive features of your page by allowing you to perform calculations, check forms, write interactive games, add special effects, customize graphics selections, create security passwords and more.
Basic Syntax of Javascript:
1)Javascript files with extension .js or embed inside html
2) A Javascript code block starts with <script type="text/javascript"> and ends with </script>. You can embed your Javascript code block in html file.
3) The comment line starts with //, or start with /* and end with */
4) The JavaScript engine allows the string "<!--" to occur at the start of a SCRIPT element, and ignores further characters until the end of the line. JavaScript interprets "//" as starting a comment extending to the end of the current line. This is needed to hide the string "-->" from the JavaScript parser.
5) Declaration of JavaScript variable starts with var: var x=5; var carname="Volvo";
6) JavaScript is Case Sensitive
7) Other syntax, such as for, while, if, switch, is similar to C language.
Video: JavaScript tutorial playlist
(Click video to see Video, click tiny up arrow in control bar to return to menu.)
| 34 |
| Vote |
subscribe to this blog















