Introduction
  • Programming and course introduction
  • A word about TypeScript vs JavaScript
  • Basic terms
Code comments and code conventions (styles) - not less important than code
  • My wife and my mother-in-law - Introducing coding concept: Code Comments
  • Code comments - they are for yourself as much as for others
  • Code comments - when to add them and how
  • Order vs chaos - Introducing coding concept: Code Conventions
  • Code conventions (styles) - pick one convention and stick with it
  • Code conventions - line indentation
  • Code conventions - spacing rules
  • Code conventions - newlines
  • Code conventions - camelCase vs CamelCase
  • Code comments and code conventions - summary
Variables - the very basic of any programming
  • Kitchen storage - Introducing coding concept: Variables
  • Constant variables
  • Variables - code conventions
  • Constant variables
  • Giving variables meaningful names
  • Giving variables meaningful names
  • Non-constant variables
  • Non-constant variables
  • Constant vs non-constant
  • Primitive types - numbers, strings, booleans
  • Primitive types
  • 'null' value
  • 'null' value
  • Union type - multiple possible types for a single variable
  • Union type - multiple possible types for a single variable
  • Variables - summary
Operators
  • Calculators - Introducing coding concept: Operators
  • Operators definitions
  • Basic arithmetic operators - a way to calculate numeric values
  • Operators - code conventions
  • Basic arithmetic operators
  • Operators precedence
  • Operators precedence
  • Arithmetic operators - increment and decrement
  • Arithmetic operators - increment and decrement
  • Assignment operators - a way to initialize and edit variables
  • Assignment operators
  • Comparison operators - a way to evaluate certain conditions as true/false
  • Comparison operators
  • Logical operators - a way to evaluate multiple boolean values
  • Logical operators
  • String concatenation operator - a way to join string variables
  • String concatenation operator
  • Operators - summary
Conditionals statements - a way to add logic
  • Lisa crossing the traffic light - Introducing coding concept: Conditionals
  • 'if' statement
  • If statement- code conventions
  • 'if' statement
  • 'if...else' statement
  • 'if...else' statement
  • 'if...else if...else' statement
  • 'if...else if...else' statement
  • Nested 'if' statements
  • Tip: when to use nested 'if' statements and when to use 'if...else if...else'
  • Nested 'if' statements
  • 'if...else' scope
  • 'if...else' scope
  • Conditionals - summary
Functions - a way to separate code into logical, readable blocks
  • Cars and bodies components - Introducing coding concept: Functions
  • Functions declaration and invocation
  • Functions - code conventions
  • Functions declaration and invocation
  • Passing parameters to functions
  • Passing parameters to functions
  • Functions return value
  • Functions return value
  • Functions return value when using conditionals
  • Functions return value when using conditionals
  • Union type as return-type
  • Union type as return-type
  • Using functions to simplify code
  • Functions scope
  • Functions scope
  • Code reusability - using functions to avoid code duplication
  • TypeScript vs JavaScript - now explaine
  • Functions - summary
Arrays - a way to store a sequence of values of the same type in 1 variable
  • Harry Potter - Introducing coding concept: Arrays
  • Arrays
  • Arrays - code conventions
  • Arrays
  • Retrieving the size of an array
  • Retrieving the size of an array
  • Retrieving the value of an array item
  • Retrieving the value of an array item
  • Changing the value of an array item
  • Changing the value of an array item
  • Adding and removing items from an array
  • Adding and removing items from an array
  • Finding out whether an array includes a specific value
  • Finding out whether an array includes a specific value