Home›JavaScript Tutorial
Free course
JavaScript Tutorial
Learn JavaScript from zero, one small and easy step at a time. Every idea is explained in plain words, then shown in real code with real output, and real web pages you can see change.
Course contents
Every lesson has its own page with the explanation, code you can copy, the real output, screenshots from the video, and a link that jumps straight to that moment in the video.
1. Getting Started
- What Is JavaScript?0:00
- Running JavaScript1:03
- console.log2:01
2. Variables
- Comments and Statements3:23
- Variables with let4:27
- const5:30
3. Names, Numbers and Strings
- Naming Variables6:32
- Numbers7:54
- Strings8:55
4. Text and Truth
- Template Literals10:21
- String Methods11:49
- Booleans12:55
5. Comparing Values
- Comparisons14:18
- Type Coercion15:29
- null and undefined16:42
6. Types
- typeof18:12
- Converting Types19:41
- Basics Quiz20:41
7. Decisions
- if Statements22:23
- else if and else23:49
- Logical Operators24:54
8. More Decisions
- Truthy and Falsy26:21
- The Ternary Operator27:28
- switch28:43
9. Loops
- for Loops30:03
- while Loops31:06
- break and continue32:22
10. Practice: Control Flow
- Practice: FizzBuzz33:42
- Practice: Times Tables35:08
- Control Flow Quiz36:02
11. Functions
- Functions37:39
- Parameters and Return38:44
- Default Parameters40:04
12. Arrow Functions and Scope
- Arrow Functions41:23
- Scope42:30
- Closures43:33
13. Callbacks and Recursion
- Callbacks44:38
- Practice: A Tip Calculator45:43
- Recursion46:43
14. Better Functions
- Pure Functions48:01
- Function Mistakes49:10
- Functions Quiz50:29
15. Arrays
- Arrays52:09
- Adding and Removing53:19
- Looping Arrays54:30
16. Searching and Sorting
- Finding Things55:48
- slice and splice57:10
- Sorting58:27
18. Modern Array Tools
- Chaining Methods1:03:20
- Spread and Rest1:04:23
- Destructuring Arrays1:05:50
19. Practice: Arrays
- Practice: A Shopping Cart1:07:15
- Practice: A Grade Report1:08:24
- Arrays Quiz1:09:25
20. Objects
- Objects1:11:03
- Accessing Properties1:12:08
- Methods and this1:13:09
21. Working with Objects
- Looping Objects1:14:36
- Destructuring Objects1:15:43
- Arrays of Objects1:17:07
22. JSON and Copying
- JSON1:18:15
- Copying Objects1:19:23
- Optional Chaining1:20:29
23. Practice: Objects
- Practice: A Contact Book1:21:35
- Practice: A Word Counter1:22:39
- Objects Quiz1:23:43
24. Classes
- Classes1:25:24
- Class Methods1:26:40
- Inheritance1:27:45
25. Getters and Errors
- Getters and Static1:28:51
- Errors and try/catch1:29:54
- Throwing Errors1:30:58
26. Modules, Dates and Math
- Modules1:32:05
- Dates1:33:13
- Math and Random1:34:21
27. Asynchronous Basics
- Synchronous and Asynchronous1:35:34
- setTimeout1:36:55
- Callback Hell1:37:59
28. Promises
- Promises1:39:11
- then and catch1:40:15
- async and await1:41:19
29. Promise.all and fetch
- Promise.all1:42:40
- fetch1:43:47
- Fetch Errors1:44:50
30. Async Practice
- Practice: Async Countdown1:45:55
- The Event Loop1:47:02
- Async Quiz1:48:11
31. JavaScript in the Browser
- JavaScript in the Browser1:49:39
- The DOM1:50:49
- querySelector1:51:56
32. Changing the Page
- Changing the Page1:53:03
- Creating Elements1:54:17
- Events1:55:17
33. Events and Forms
- The Event Object1:56:19
- Forms and Input1:57:20
- Practice: A Counter App1:58:18
34. To-Do List and Storage
- Practice: A To-Do List1:59:32
- localStorage2:00:46
- Event Delegation2:02:01
35. Quiz App and Timers
- Practice: A Quiz App2:03:18
- Timers and a Clock2:04:28
- DOM Quiz2:05:29
36. Node and npm
- Node and Files2:06:53
- npm2:08:09
- A Web Server2:09:49
37. Sets, Maps and Regex
- Sets and Maps2:11:06
- Regular Expressions2:12:19
- Higher-Order Functions2:13:38
38. Debugging and Clean Code
- Debugging2:14:50
- Clean Code2:16:16
- Common Mistakes2:17:16
39. Practice Projects 1
- Practice: Word Guess2:18:23
- Practice: Password Checker2:19:46
- Practice: Temperature Converter2:20:53
40. Practice Projects 2
- Practice: Bank Account2:22:02
- Practice: Inventory2:23:12
- Practice: Dice Statistics2:24:14
41. Practice Projects 3
- Practice: Weather Report2:25:23
- Practice: Debounced Search2:26:31
- Practice: Unit Tests2:27:34
42. Practice Projects 4
- Practice: Tabs2:28:51
- Practice: Dark Mode2:30:03
- Practice: Form Validation2:31:04
43. Practice Projects 5
- Practice: Expense Tracker2:32:17
- Iterators and Generators2:33:26
- Practice: A Notes CLI2:34:40
44. Interview Questions
- Interview Questions 12:35:58
- Interview Questions 22:37:06
- Interview Questions 32:38:14
45. Async Interview and Review
- Interview Questions 42:39:24
- Cheat Sheet2:40:32
- Final Quiz2:41:52
46. Next Steps
- What to Learn Next2:43:32
- Practice Plan2:44:37
- Course Complete2:45:35