Tool
JavaScript
Make web pages interactive
Learn JavaScript from the ground up — variables, conditions, loops, functions, arrays and objects, the DOM and events, forms, errors, async code, and modern syntax.
14
Chapters
36
Hours (estimated)
1
Self-paced
Part-time
About 12 weeks
1 hour a day, 3 days a week
Full-time
About 4 weeks
3 hours a day, 3 days a week
Estimated from 14 chapters (notes, practice, labs, quiz, exercise, and challenge) plus the final exam. Go at your own pace.
Curriculum
14 chapters, each with a tutorial, a live example, a quiz, an exercise, a challenge, and class practice.
- 1
Introduction to JavaScript
Variables, the DOM, and responding to events.
- 2
Variables & Data Types
let, const, and var; strings, numbers, booleans, null, undefined, and objects; typeof and type conversion.
- 3
Operators & Conditionals
Arithmetic, assignment, comparison, and logical operators; if/else, the ternary operator, and switch.
- 4
Loops
for, while, and do...while loops, break and continue, and for...of / for...in.
- 5
Strings, Numbers & Math
Template literals, string methods and search, number methods, and the Math object.
- 6
Functions
Declarations, expressions, and arrow functions; parameters, defaults, and return; scope, hoisting, and closures.
- 7
Arrays & Objects
Arrays and their methods (map, filter, reduce, find, sort), objects, properties, methods, this, and constructors.
- 8
Sets, Maps, Dates & JSON
Unique values with Set, key–value collections with Map, working with dates, and converting data to and from JSON.
- 9
DOM Manipulation
Selecting elements, changing text, attributes, classes, and styles, and creating and removing elements.
- 10
Events
addEventListener, common events, the event object, event delegation, and preventing default behavior.
- 11
Forms, Validation & Storage
Reading form values, handling submit, validating input, showing messages, and saving data with localStorage.
- 12
Errors & Debugging
Error types, try/catch/finally, throwing your own errors, the console, and breakpoints.
- 13
Async JavaScript & Promises
Timers, callbacks, promises, async/await, and fetching data from APIs.
- 14
Modern JavaScript (ES6+)
Destructuring, spread and rest, classes, optional chaining, modules, and iterators.
JavaScript is free to study, self-paced. Pass the final exam to earn an optional Certificate of Completion for $40.