JavaScript

JavaScript, often abbreviated as JS, is a programming language that conforms to the ECMAScript specification. JavaScript is high-level, often just-in-time compiled, and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions

1. Introduction – JavaScript:

  • Introduction to client side scripting using Java Script
  • Using Java Script in HTML page with <SCRIPT> tag
  • External Java Script

2. JavaScript Variables:

  • Declaring variable –  Assigning values to variables Java Script literals;
  • Data types in Java Script – String, Number, Boolean, Object, Function, Null
  • Type casting in Java Script

3. JavaScript Operators:

  • JavaScript Operators and Operator precedence:
  • Unary Operators: +, -, ++, —
  • Binary Operators :
  • Arithmetic Operators: +, -, *, /, %
  • Assignment Operators : =, +=, – =, *=, /=, %=
  • Comparison Operators: <, >, <=, >=, !=, ==
  • Logical Operators: &&, ||, !
  • String Operator: + (for concatenation)
  • Bitwise Operators : &, |, ~, ^, <<, >>
  • typeof operator
  • Conditional Operator: ?:

4. JavaScript Popup Boxes:

  • Alert, Confirm and Prompt box

5. Comments in JavaScript: Single line and multi-line


LEVEL-II

6. Control Structures in JavaScript:

  • Conditional statements: if, else, else if.., switch case, break and default statement
  • Loops: for, while, do while loops, continue statement

7. JavaScript Functions:

  • Define a function, execute a function, return statement, function using arguments, Scope of  Variables

LEVEL-III

8. Objects in JavaScript:

  • Window object, document object, location object, form object, working with control objects (Button, reset and submit objects, checkbox objects, and radio objects, select objects, password, text, textarea object)
  • Creating Dynamic Interface with HTML form controls and JavaScript

9. Responding to events:

  • onLoad, onUnload, onFocus, onBlur, onChange, onMouseOver, new operator, object() constructor

10. Array objects in Java Script:

  • length property, join(), sort(), reverse(), concat(), for in loop

11. String object in Java Script:

  • length property, charAt(), concat(), replace(), search(), substr(), toLowerCase(), toUpperCase(), toString()

12. Date object in Java Script:

  • Date(), getDate(), getDay(), getFullYear(), getHours(), getMilliseconds(), getMinutes(), getMonth(), getSeconds(), getTime()