AI Hints
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.

📚 138 lessons▶ 2:45:35+ of video💻 174 code examples🖼 142 screenshots
The complete JavaScript course, free on YouTubeWatch on YouTube ↗

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.

3. Names, Numbers and Strings

  1. Naming Variables6:32
  2. Numbers7:54
  3. Strings8:55

4. Text and Truth

  1. Template Literals10:21
  2. String Methods11:49
  3. Booleans12:55

5. Comparing Values

  1. Comparisons14:18
  2. Type Coercion15:29
  3. null and undefined16:42

6. Types

  1. typeof18:12
  2. Converting Types19:41
  3. Basics Quiz20:41

8. More Decisions

  1. Truthy and Falsy26:21
  2. The Ternary Operator27:28
  3. switch28:43

10. Practice: Control Flow

  1. Practice: FizzBuzz33:42
  2. Practice: Times Tables35:08
  3. Control Flow Quiz36:02

12. Arrow Functions and Scope

  1. Arrow Functions41:23
  2. Scope42:30
  3. Closures43:33

13. Callbacks and Recursion

  1. Callbacks44:38
  2. Practice: A Tip Calculator45:43
  3. Recursion46:43

14. Better Functions

  1. Pure Functions48:01
  2. Function Mistakes49:10
  3. Functions Quiz50:29

16. Searching and Sorting

  1. Finding Things55:48
  2. slice and splice57:10
  3. Sorting58:27

17. map, filter, reduce

  1. map59:35
  2. filter1:00:53
  3. reduce1:02:10

18. Modern Array Tools

  1. Chaining Methods1:03:20
  2. Spread and Rest1:04:23
  3. Destructuring Arrays1:05:50

19. Practice: Arrays

  1. Practice: A Shopping Cart1:07:15
  2. Practice: A Grade Report1:08:24
  3. Arrays Quiz1:09:25

20. Objects

  1. Objects1:11:03
  2. Accessing Properties1:12:08
  3. Methods and this1:13:09

21. Working with Objects

  1. Looping Objects1:14:36
  2. Destructuring Objects1:15:43
  3. Arrays of Objects1:17:07

22. JSON and Copying

  1. JSON1:18:15
  2. Copying Objects1:19:23
  3. Optional Chaining1:20:29

23. Practice: Objects

  1. Practice: A Contact Book1:21:35
  2. Practice: A Word Counter1:22:39
  3. Objects Quiz1:23:43

24. Classes

  1. Classes1:25:24
  2. Class Methods1:26:40
  3. Inheritance1:27:45

25. Getters and Errors

  1. Getters and Static1:28:51
  2. Errors and try/catch1:29:54
  3. Throwing Errors1:30:58

26. Modules, Dates and Math

  1. Modules1:32:05
  2. Dates1:33:13
  3. Math and Random1:34:21

27. Asynchronous Basics

  1. Synchronous and Asynchronous1:35:34
  2. setTimeout1:36:55
  3. Callback Hell1:37:59

28. Promises

  1. Promises1:39:11
  2. then and catch1:40:15
  3. async and await1:41:19

29. Promise.all and fetch

  1. Promise.all1:42:40
  2. fetch1:43:47
  3. Fetch Errors1:44:50

30. Async Practice

  1. Practice: Async Countdown1:45:55
  2. The Event Loop1:47:02
  3. Async Quiz1:48:11

31. JavaScript in the Browser

  1. JavaScript in the Browser1:49:39
  2. The DOM1:50:49
  3. querySelector1:51:56

32. Changing the Page

  1. Changing the Page1:53:03
  2. Creating Elements1:54:17
  3. Events1:55:17

33. Events and Forms

  1. The Event Object1:56:19
  2. Forms and Input1:57:20
  3. Practice: A Counter App1:58:18

34. To-Do List and Storage

  1. Practice: A To-Do List1:59:32
  2. localStorage2:00:46
  3. Event Delegation2:02:01

35. Quiz App and Timers

  1. Practice: A Quiz App2:03:18
  2. Timers and a Clock2:04:28
  3. DOM Quiz2:05:29

36. Node and npm

  1. Node and Files2:06:53
  2. npm2:08:09
  3. A Web Server2:09:49

37. Sets, Maps and Regex

  1. Sets and Maps2:11:06
  2. Regular Expressions2:12:19
  3. Higher-Order Functions2:13:38

38. Debugging and Clean Code

  1. Debugging2:14:50
  2. Clean Code2:16:16
  3. Common Mistakes2:17:16

40. Practice Projects 2

  1. Practice: Bank Account2:22:02
  2. Practice: Inventory2:23:12
  3. Practice: Dice Statistics2:24:14

42. Practice Projects 4

  1. Practice: Tabs2:28:51
  2. Practice: Dark Mode2:30:03
  3. Practice: Form Validation2:31:04

44. Interview Questions

  1. Interview Questions 12:35:58
  2. Interview Questions 22:37:06
  3. Interview Questions 32:38:14

45. Async Interview and Review

  1. Interview Questions 42:39:24
  2. Cheat Sheet2:40:32
  3. Final Quiz2:41:52

46. Next Steps

  1. What to Learn Next2:43:32
  2. Practice Plan2:44:37
  3. Course Complete2:45:35