/js-learning

Primary LanguageJavaScript

js-learning

JavaScript learning

Lecture #0

  1. A Brief History of JavaScript
  2. keywords: var, let, const, function, typeof
  3. what is window object in JavaScript
  4. window.document, DOM basics
  5. console(window object), some console functions: console.log, console.warn, console.error, etc.
  6. data types and data structures.
  1. Function declaration and function expression
  2. Interaction with user. window.alert, windows.confirm

Lecture #1

  1. Repetition of Lecture #0
  2. more about types
  3. more about variables
  4. null example to be added
  5. Base math operators, +, -, *, /

Lecture #2

  1. homework analysis
  2. external vs internal scripts, order of scripts load and execution. async, deffer script attribute
  3. basic operators. Unary and binary operators, operand.

Lecture #3

  1. Finished with basic operators: comma operator(,), bitwise NOT (~) and role of Bitwise not in search functions
  2. Logical operators: Logical NOT(!), Logical OR(||), Logical AND(&&)
  3. Comparison Operators: Equality(==),Inequality(!=), Identity/strict equality(===), Non-identity/strict inequality(!==), Greater than or equal(>=), Less than or equal(<=)
  4. Operators precedence
  5. Interaction with user. window.alert, windows.confirm, windows.prompt

Lecture #4

  1. Repetition of Lecture #3
  2. if/else if/else repetition, Conditional (ternary) conditional, if/else if/else vs ternary ?:
  3. Object data type, navigation by the objects and arrays. Functions in the object.
  4. Template literals

Lecture #5

  1. Loops: while, do...while

Lecture #6

  1. Loops: for, for..in
  2. switch/case construction

Lecture #7

  1. switch/case construction
  2. break and continue statements