Getting Started with JavaScript
Watch on Frontend Masters
Getting Started with JavaScript
Master the basics and learn to build web apps
Kyle Cook
Web Dev Simplified
Watch on Frontend Masters
Table of Contents
Mindset
Javascript Is Hard
Don't Get Discouraged
Tools
Basic Tools
Live Server Extension
Prettier Setup
Running JavaScript
What Is JavaScript?
Your First JavaScript App
Loading JavaScript in the Browser
Variable Basics
Primitive Types and Operations
Creating Your First Variable
Constants with Const
Null vs Undefined
Functions
Introduction to Functions
Passing Functions as Arguments
Arrow Functions
Scope
Understanding Scope
Hoisting
Closures
Advanced Variables
Creating Variables with var
Type Coercion
NaN (Not a Number)
Equality Type Comparisons
Arrays
Objects
Reference vs Value
String Template Literals
This Keyword
Control Flow
If Statements
Ternary Operator
Switch Statements
For Loops
While Loops
Recursion
Short Circuit Evaluation
Array Methods
DOM
Window and Document
Selecting Elements
Event Listeners
Event Delegation
DOM Traversal
Debugging
Common Errors
Devtools Basics
Console Advanced
Source Debugger
Vscode Debugging