Javascript Introduction - brainchildservices/curriculum GitHub Wiki
PART 1
INTRODUCTION (30 Mins)
Basic-Introduction-to-the-language
• Basic Introduction to the language.• How to use JavaScript
HELLO WORLD! (1 Hour) • A Simple Example • Code Editing tools • HTML content.
BASIC STUFF (Half Day) • What is Values & Variables? • How to Use Variables? • Different ways to Use Variables? • Syntax (Right & Wrong Syntax with Explanation). • Naming Variables. • Declaring and initializing variables. • Complicated Exercise. • Default Value?
CONSTANT (2 Hours) • What is Constant? • How to Use Constant? • Different ways to Use Constant? • Syntax (Right & Wrong Syntax with Explanation). • Naming Constant. • Declaring and initializing Constant. • Complicated Exercise. • Default Value? PART 2 OPERATORS (Half Day) • What is Operators? • How to Use Operators? • Operations on Numbers & Strings. • Syntax (Right & Wrong Syntax with Explanation). • Declaring and initializing Operators. • Logical Operators.
- Logical AND & OR Operators. • Comparison Operators. • Complicated Exercise. DATATYPES (One Day) • What is Datatypes? • How to Use Datatypes? • Different ways/types to Use Datatypes? • Syntax (Right & Wrong Syntax with Explanation). • Naming Datatypes. • Declaring and initializing Datatypes. • Complicated Exercise. • Default Value?
OBJECTS (One Day) • What is Objects? • Properties of Objects? • Accessing an Object? • Syntax (Right & Wrong syntax with explanation). • Object Methods. • Accessing Object Methods. • Do Not Declare Strings, Numbers and Booleans as Objects, Why? • Complicated Exercises • Default Value. PART 3 EVENTS (Half Day) • What is Events? • Properties of Events? • Declaring an Event? • Accessing an Events? • Syntax (Right & Wrong syntax with explanation). • Complicated Exercises STRINGS (More About Strings - Half Day) • What is Strings? • Properties of Strings? • Declaring a Strings? • Accessing a Strings? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use Strings? • Uses of assignment operators in Strings? • Complicated Exercises • Default Value. STRINGS Methods (Half Day) • What is Strings Methods? • Properties of Strings Methods? • Declaring a Strings Methods? • Accessing a Strings Methods? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use Strings Methods? • Complicated Exercises
NUMBERS (More About Numbers - Half Day) • What is Numbers? • Properties of Numbers? • Declaring a Number? • Accessing a Number? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use Numbers? • Uses of assignment operators in Numbers? • Complicated Exercises • Default Value. NUMBER Methods (Half Day) • What is Number Methods? • Properties of Number Methods? • Declaring a Number Methods? • Accessing a Number Methods? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use Number Methods? • Complicated Exercises
Dates (3 Hours) • What is Date? • Properties of Date? • Declaring & Accessing a Date? • Different types of Date Formats? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use Date? • Uses of assignment operators in Date? • Complicated Exercises • Default Value.
GET/SET DATE Methods (3 Hours) • What is Get/Set Date Methods? • Properties of Get/Set Date Methods? • Declaring a Get Get/Set Methods? • Accessing a Get Get/Set Methods? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use Get/Set Date Methods? • Complicated Exercises
Scroll Down Please
PART 4 JS MATH (3 Hours) • What is JS Math? • Properties of JS Math? • Declaring & Accessing JS Math? • Different types of JS Math Formats? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use JS Math? • Complicated Exercises JS RANDOM (3 Hours) • What is JS Random? • Properties of JS Random? • Declaring & Accessing JS Random? • Different types of JS Math Random? • Syntax (Right & Wrong syntax with explanation). • What is Random Integers? • What is a proper Random Function? • Different Ways to use JS Random? • Complicated Exercises JS BOOLEAN (3 Hours) • What is Boolean? • Properties of Boolean? • Declaring & Accessing Boolean? • Uses of assignment operators in Boolean? • Boolean Function? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use JS Boolean? • Complicated Exercises
COMPARISON & LOGICAL OPERATORS (4 Hours) • What is Comparison Operator? • Properties of Comparison Operator? • How to use Comparison Operator? • Syntax (Right & Wrong syntax with explanation). • Complicated Exercises • Different Ways to use Comparison Operator? • What is Logical Operator? • Properties of Logical Operator? • How to use Logical Operator? • Syntax (Right & Wrong syntax with explanation). • Complicated Exercises • Different Ways to use Logical Operator? • Compare Different types
Scroll Down Please
PART 5 ARRAYS (Half Day) • What is an Array? • Properties of an Array? • Declaring an Array? • Accessing an Array? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use an Array? • Uses of assignment operators in an Array? • Complicated Exercises • Default Value. ARRAY Methods (Half Day) • What is an Array Methods? • Properties of an Array Methods? • Declaring an Array Methods? • Accessing an Array Methods? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use an Array Methods? • Complicated Exercises
ARRAY Sort (Half Day) • What is an Array Sorting? • Properties of an Array Sorting? • Declaring an Array Sorting? • Accessing an Array Sorting? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use an Array Sorting? • Complicated Exercises
ARRAY Iterations (Half Day) • What is an Array Iterations? • Properties of an Array Iterations? • Different types of an Array Iterations? • Declaring an Array Iterations? • Accessing an Array Iterations? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use an Array Iterations? • Complicated Exercises
Scroll Down Please
PART 5 JAVASCRIPT FUNCTION (Half Day) • What is a function? • Why using function in JS? • Explain a simple function in JS? • How to create function that take argument? • Creating Functions that Return Data
- The Return Keyword.
- Exiting The Function Early. CONDITIONAL STATEMENTS: IF, ELSE & SWITCH (Half Day)
- The If/Else Statement • Meet the conditional Operators • Creating More Complex Expressions • Variations on usual Statement
- Switch Statement. • Using A Switch Statement. • Similarity to an if else statement.
- Decide Which to use? Different Types of LOOPs & Break (Half Day) • What is Loop? (Need to explain ‘What is loop? & What is the use of it?’) • Different types of Loops? • Properties of Each Loops? • How to declare Each Loops? • How access Each Loops? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use Loops? • Complicated Exercises • What is Break, and how to use it with example. PART 6 TYPE CONVERSION (Half Day) • What is Type Conversion? • Different types of Type Conversion? • Properties of Type Conversion? • How to declare Type Conversion? • How to fix a Type Conversion issue? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use Type Conversion? • Complicated Exercises JS BITWISE (Half Day) • What is Bitwise? • Different types of Bitwise? • Properties of Bitwise? • How to declare Bitwise? • Figure out How to use or when to use Bitwise? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use Bitwise? • Complicated Exercises JS REGEXP (Half Day) • What is RegExp (Regular Expression)? • Different types of RegExp? • Properties of RegExp? • How to declare RegExp? • Figure out How to use or when to use RegExp? • Syntax (Right & Wrong syntax with explanation). • Different Ways to use RegExp? • Complicated Exercises