Learn JavaScript
Learn JavaScript — the language that makes web pages interactive and dynamic.
1
Introduction to JavaScript
What JavaScript is and why it is the language of the web.
2
JS Variables
Store and reuse values with var, let, and const.
3
JS Data Types
JavaScript has 7 primitive types and one complex type: object.
4
JS Operators
Arithmetic, comparison, logical, and assignment operators.
5
JS Conditions
Make decisions in code with if/else, else if, and switch.
6
JS Loops
Repeat code with for, while, for...of, and for...in loops.
7
JS Functions
Functions let you group reusable code into named blocks.
8
JS Arrays
Arrays store ordered lists of values and come with powerful built-in methods.
9
JS Objects
Objects store named properties and are the foundation of JavaScript.
10
JS Strings
String methods for searching, slicing, replacing, and formatting text.
11
JS Events
Events let JavaScript respond to user actions like clicks, typing, and form submissions.
12
JS DOM
The DOM API lets JavaScript read and change HTML elements on the page.
13
JS ES6+ Features
Modern JavaScript: arrow functions, destructuring, spread, modules, and async/await.