Creating Variables and accessing values
Lets see how to create variables in JavaScript. Plus learn how to use the Dot and Brackets operator to access value from objects.
Course content
131 lessons- 1Tool you will need2:25
- 2History and Background of JavaScript8:06
- 3Understanding Node.js and the browser7:05
- 4Quick intro to text-editors and VS Code4:14
- 5Project Setup2:34
- 6Types in JavaScript - Part 16:17
- 7Types in JavaScript - Part 24:15
- 8Intro to Objects in JavaScript5:24
- 9Creating Variables and accessing values5:59
- 10Using the 'typeof' operator4:03
- 11Basic Vocabulary in JavaScript6:40
- 12Dynamic vs. Static Type Languages2:02
- 13Intro to Arrays in JavaScript4:54
- 14More on Arrays: Weird Parts and Length2:40
- 15Type Checking Arrays1:25
- 16Intro to Functions in JavaScript - Part 16:02
- 17Intro to Functions in JavaScript - Part 25:44
- 18Intro to Functions in JavaScript - Part 35:40
- 19Deeper Realizations on Object, function and method5:30
- 20Project: Simple Age Calculator6:02
- 21Function Statement vs. Function Expression3:58
- 22Hoisting: How and when variables are created.7:01
- 23Function Hoisting4:52
- 24Scope in JavaScript - Part 14:57
- 25Scope in JavaScript - Part 23:02
- 26Scope Chain: The hierarchy of scope.3:45
- 27Lexical Environment (Lexical scope) in JavaScript6:00
- 28Code formatting and coding ethics6:31
- 29Arithmetic Operators in JavaScript5:46
- 30Assignment Operators in JavaScript3:19
- 31Logical Operators in JavaScript5:59
- 32Triple Equal '===' operator6:23
- 33Double Equal '==' Operator4:31
- 34Comparison Operators in JavaScript2:39
- 35Conversion Operators in JavaScript4:42
- 36Increment '++' and Decrement '--' operators2:35
- 37Operator Precedence in JavaScript4:01
- 38Operator Associativity in JavaScript4:12
- 39if else statement in JavaScript7:03
- 40Ternary Operator in JavaScript2:47
- 41Switch statements in JavaScript5:26
- 42For loop in JavaScript - Part 16:54
- 43For loop in JavaScript - Part 25:21
- 44While loop in JavaScript4:15
- 45Do while loop in JavaScript2:34
- 46Creating variables with 'var', 'let' & 'const'4:52
- 47More on 'const'2:40
- 48'setInterval' & 'clearInterval'3:40
- 49'setTimeout' & 'clearTimeout'1:25
- 50Call Stack, Event Loop and Message Queue - Part 15:25
- 51Call Stack, Event Loop and Message Queue - Part 24:41
- 52Call Stack, Event Loop and Message Queue - Part 36:37
- 53Call Stack, Event Loop and Message Queue - Part 43:39
- 54Callback functions in JavaScript2:23
- 55Special 'arguments' keyword in a function3:56
- 56Using 'arguments' in a function3:45
- 57Spread Operator '...' in JavaScript5:00
- 58Default values of function parameters4:56
- 59By Reference, by value7:49
- 60Browser API - Part 14:03
- 61Browser API - Part 26:03
- 62DOM: Document Object Model4:47
- 63Query the DOM nodes5:35
- 64Modify DOM nodes6:30
- 65Modify element class(es)4:17
- 66Create Node/Elements for the DOM6:37
- 67Remove Node from DOM5:02
- 68Events: Adding event listeners to DOM6:21
- 69Removing event listeners from DOM6:56
- 70Project: To-Do List App with Vanilla JavaScript - Part 14:46
- 71Project: To-Do List App with Vanilla JavaScript - Part 22:01
- 72Project: To-Do List App with Vanilla JavaScript - Part 34:28
- 73Project: To-Do List App with Vanilla JavaScript - Part 46:51
- 74Project: To-Do List App with Vanilla JavaScript - Part 52:27
- 75Project: To-Do List App with Vanilla JavaScript - Part 64:39
- 76Project: To-Do List App with Vanilla JavaScript - Part 74:16
- 77Project: To-Do List App with Vanilla JavaScript - Part 83:49
- 78Project: To-Do List App with Vanilla JavaScript - Part 95:17
- 79Project: To-Do List App with Vanilla JavaScript - Part 104:09
- 80To-Do List App Homework - Solution4:03
- 81Event Bubbling in DOM - Part 12:50
- 82Event Bubbling in DOM - Part 25:32
- 83Clear all tasks3:09
- 84DomContentLoaded Event7:30
- 85More on Events + Homework1:28
- 86Global Scope: Avoiding Pitfalls - Part 13:23
- 87Global Scope: Avoiding Pitfalls - Part 25:56
- 88IIFE: Immediately Invoked Function Expression6:42
- 89IIFE Example3:25
- 90Arrow Functions Explained Correctly - Part 17:15
- 91Arrow Functions Explained Correctly - Part 23:10
- 92Closure in JavaScript Explained Correctly - Part 15:06
- 93Closure in JavaScript Explained Correctly - Part 24:04
- 94Closure in JavaScript Explained Correctly - Part 34:34
- 95Project: Tooltip effect - Part 18:48
- 96Project: Tooltip effect - Part 26:07
- 97Project: Tooltip effect - Part 39:00
- 98Project: Tooltip effect - Part 41:48
- 99Project: Tooltip effect - Part 55:06
- 100Template literals (Template Strings) in JavaScript3:55
- 101Prototype: The builtin features6:40
- 102Prototype of String Constructor5:10
- 103Prototype of Number and Boolean Constructor4:38
- 104.filter() method of Array in JavaScript7:31
- 105.filter() method of Array in JavaScript - Part 23:56
- 106.filter() Homework5:59
- 107.find() method of Array in JavaScript1:42
- 108.forEach() method of Array in JavaScript1:11
- 109.map() method of Array in JavaScript4:26
- 110.reduce() method of Array in JavaScript6:36
- 111Date object in JavaScript6:44
- 112Math object in JavaScript4:25
- 113Promise in JavaScript - Part 16:35
- 114Promise in JavaScript - Part 24:53
- 115Promise in JavaScript - Part 38:06
- 116Promise in JavaScript - Part 44:28
- 117Using fetch() to connect with HTTP7:50
- 118Project: Get list of Countries5:53
- 119Project: Get population by country - Part 14:37
- 120Project: Get population by country - Part 25:46
- 121Project + Homework: Get population by country - Part 36:58
- 122'this' - Understand the 'this' keyword once and for all - Part 14:45
- 123'this' - Understand the 'this' keyword once and for all - Part 23:47
- 124'this' - Using call() to modify 'this'4:38
- 125'this' - Using apply() to modify 'this'1:29
- 126'this' - Using bind() to modify 'this'3:00
- 127Avoid Pitfall: 'this' inside an arrow function3:00
- 128Avoid Pitfall: 'this' inside a function inside a method4:37
- 129Using Constructor - Part 18:25
- 130Using Constructor - Part 24:30
- 131'prototype' property of constructor8:21
JavaScript Cheatsheet
Download it, print it and keep it next to your desk.
- Download JavaScript Cheatsheet (PDF)
- Star JavaScript Cheatsheet on Github
- Share Cheatsheet Link: https://ilovecoding.org/blog/js-cheatsheet