Master JavaScript fundamentals: learn the difference between var, let, and const, and all seven primitive types including string, number, and boolean.
Tutorial series
Javascript Fundamentals
10 tutorials — follow in order for the best learning path.
- JavaScript Fundamentals: Variables and Types
- Functions and Scope in JavaScript
Master functions and scope in JavaScript: learn declarations, expressions, arrow functions, understand variable scope, and harness the power of closures.
- JavaScript Fundamentals: Objects and Arrays
Master objects and arrays in this JavaScript fundamentals tutorial—learn to create, manipulate, and use these essential data structures in real applications.
- JavaScript Fundamentals: Control Flow
Master JavaScript fundamentals of control flow with if/else, switch, loops, and practical patterns like FizzBuzz for directing program execution paths.
- JavaScript Fundamentals: Classes in JavaScript
JavaScript fundamentals of classes: constructors, methods, getters/setters, static members, inheritance, and private fields for clean encapsulation.
- Error handling in JavaScript: try/catch and beyond
Master error handling in JavaScript with try/catch blocks, custom error classes, async error patterns, and debugging tactics that keep production apps healthy.
- Working DOM in JavaScript: Select, Create, and Modify
A hands-on tutorial for working DOM manipulation in JavaScript: select elements, handle events, build interactive pages, and master core DOM skills.
- JavaScript Callbacks, Promises, and async/await: A Practical Guide
Master JavaScript callbacks, promises, and async/await. Learn to handle async operations, chain requests, manage errors, and pick the right pattern.
- JavaScript Fundamentals: ES Modules: import and export
Learn how ES Modules organize JavaScript code — a core part of JavaScript fundamentals for building maintainable applications with modern tooling.
- JavaScript Symbols, Iterators, and Custom Iterables
Master JavaScript symbols iterators and the iterator protocol. Learn well-known symbols, create custom iterables, and use for...of loops effectively.