• jQuery are good for cross-browser inconsistencies
  • IE8 internet explorer 8
  • scripts : series of instructions
  • a browser may use different parts of the scripts depending on how the user interacts with the web page.
  • undefiend is a datatype.
  • (%) operator : divides two values and returns the remainder 10 % 3 = 1
  • if you use arithmatic operator on string –> NaN

fUNCTIONS

  • A group of series statments togather to perform a specific task
  • you can reuse the function by calling.
  • why we use it ?
    • to repeat the same statments multiple time.
  • you can call the same function as many times as you want within the same JavaScript file.
  • return to return a value to the code that called the function.