You can insert your JavaScript code:

In the <head> section of your html In the <body> section of your html In an external file In an external url In an external folder.

The Javascript sysntax consists of a set of rulers that govern how the program is structured.

JavaScript is case sensitive.

The automatic semicolon insertion can impact semantics. This means that, if a statement is well formed and with a white space after it, it will be considered complete. A semicolon will be inserted even though the statement might not be complete.

There is also a problem of abiguity when a statement is not completed with a semicolon and the preceeding statement starts with a parenthesis.

a = b + c
(d + e).foo()

// Treated as:
//  a = b + c(d + e).foo();

Next Lesson Click hereπŸ‘‰πŸ½ Back to Topics πŸ‘ˆπŸ»

Contribute your thoughts on our survey form:

The link to our 2 minute survey is Here where you can let me know anyother topics you would like to see covered. My youtube channel is here, please leave me a note if you want you see a topic in video Youtube.

Follow me on twitter Twitter.