Free course
JavaScript Course
Learn JavaScript fundamentals, arrays, objects, functions, modules, asynchronous code, and browser interactivity from the ground up.
Prerequisites: HTML
Your progress
of lessons completed.
Course completed.
What you'll learn
Write small JavaScript programs and add useful interactions to web pages.
Course contents
Start running JavaScript
Run code, read statements, and understand errors.
Values and variables
Store values and combine them with operators and expressions.
- ✓ JavaScript Types
- ✓ JavaScript Variables
- ✓ Let vs Const in JavaScript
- ✓ null vs undefined in JavaScript: the difference
- ✓ The JavaScript Arithmetic operators
- ✓ JavaScript Comparison Operators
- ✓ JavaScript Equality Operators
- ✓ JavaScript Type Conversions (casting)
- ✓ A guide to JavaScript Template Literals
- ✓ Check your understanding: values and types
Decisions and repetition
Use conditions and loops to control program execution.
Arrays
Store, transform, search, and iterate ordered data.
- ✓ An introduction to JavaScript Arrays
- ✓ Write JavaScript loops using map, filter, reduce and find
- ✓ JavaScript immutable array methods: toSorted(), toReversed(), toSpliced(), with()
- ✓ Destructuring Objects and Arrays in JavaScript
- ✓ The JavaScript Spread Operator
- ✓ How to write JavaScript sort comparators
Objects
Model named values, methods, references, and structured data.
Functions and scope
Organize reusable behavior and understand lexical scope.
Organizing programs
Use modules, errors, built-ins, classes, and prototypes.
Asynchronous JavaScript
Work with promises, async functions, timers, and fetch.
JavaScript in the browser
Work with the DOM, events, forms, and browser storage.
- ✓ The Document Object Model (DOM)
- ✓ JavaScript Events Explained
- ✓ Event bubbling and event capturing
- ✓ Event delegation in the browser using vanilla JavaScript
- ✓ How to style DOM elements using JavaScript
- ✓ The Fetch API
- ✓ The Web Storage API: local storage and session storage
- ✓ Custom events in JavaScript
- ✓ Build a small interactive page