For example, the variable firstVar must be typed firstVar, not FirstVar or firstvar. Similarly, the method name getElementById() must be typed getElementById() not as getElementByID().
In the above example the variables myName and myname, are two different variables.
Whitespace and Line Breaks:
Semicolons are Optional:
For example, you can write the following code without semicolons.
Note: It is a good practice to use semicolons while programming.