JavaScript Syllabus:
1. JavaScript introduction
What is JavaScript, Client Side JavaScript, Advantages of JavaScript, Limitations of JavaScript.
JavaScript syntax, first JavaScript program, write contents using document. Write(), comments in JavaScript, JavaScript in ... Section, JavaScript in ... Section, JavaScript in External File, JavaScript Popup message box: display popup message to the user using alert(), the users confirmation to proceed using confirm(), the users input to do further actions in a web page using prompt().
2.JavaScript-Data types and variables
JavaScript datatypes: numbers, string, Boolean. Trivial data types: null and undefined. Composite date type: object. JavaScript variables: var keyword. JavaScript Variable Scope: local variables and global variables. JavaScript Variable Names. JavaScript Reserved Words
3. JavaScript Operators
What is an operator?
Arithmetic Operators,
Comparison Operators ,
Logical (or Relational) Operators,
Assignment Operators ,
Conditional (or ternary) Operators,
The typeof operator.
4.JavaScript Control flow statements
Selection control flow statements: decision making using if, if….else, nested if, if …else if, switch
5. JavaScript Control flow statements
Iterative control flow statements: while, do…while, for loops.
6. Nested loops.
Nested loops, Continue and break keywords.
7. JavaScript Array
Waht is Array. Array initialization, Array constructor, Accessing array elements using array index, Array length property. Array methods: concat(), indexOf(), lastIndexOf(), push(), pop(), reverse(), sor(),
8. JavaScript Functions
built-in functions, user defined functions, String methods and properties: length property , charAt(), concat(), indexOf(), lastIndexOf(), replace(), split(), substr(), toUpperCase(), toLowerCase(), toString(), valueOf(),
Date methods: getDate(), getDay(), getFullYear(), getMonth(), getHours(),getYear(), setDate(), setYear(), setMonth(), valueOf().
9.JavaScript Functions
Function Category: Function with no arguments and no return value, Function with argument and no return value, Function with no arguments and return value, Function with arguments and return value. eval() can call the function and get the result , can convert string to JSON object
10. JavaScript Exceptions
Error handling in JavaScript: to catch runtime errors using try-catch-finally block. Throw keyword to raise a custom error.
11. JavaScript Event
Events, onClick(). Checkbox and Radio Button events management, Textbox and Dropdown list events and onChange().
12. JavaScript Page redirection
Page
redirect usage, Location, print the content of the web page via an actual print using print(),
Refresh a page using location.Reload(),auto refresh page.Form, validation: validate controls using JavaScript validation functions.
* Each Session include:
Faculty training, Lab Practice, Lab Exercises and Portal based assignments.
* Sinet Education reserved the right to alter the course contents, offers, price, certificates etc.