Home

The JavaScript course

University JavaScript Course - From Beginner to Advanced

For people who want to land a JavaScript job, and for those who already have one and want to grow in it. This course grew out of my Advanced JavaScript lectures at New Bulgarian University and the trainings I have given to more than 3,000 engineers.

It takes you from beginner to advanced. You start with the first variable and work up to the event loop, TypeScript, web security and performance, practicing on more than 450 tasks, each with tests that tell you when your code works. The last section gets you ready for interviews.

  • 24 sections
  • 234 lessons
  • 35 h of reading
  • 450+ tasks with tests
  • by Georgi Bachev

Course program

24 sections, 234 lessons, about 35 h of reading. Open a section to see its lessons.

  1. 01 Introduction and Prerequisites 3 lessons 12 min
    1. 1.1 About the Author
    2. 1.2 Prerequisites and Who This Course Is For
    3. 1.3 How to Follow Along
  2. 02 First Steps 3 lessons 15 min
    1. 2.1 Environment Setup
    2. 2.2 HTTP: How the Web Works
    3. 2.3 A First Look at npm and nvm
  3. 03 JavaScript Foundations 3 lessons 27 min
    1. 3.1 What Is JavaScript?
    2. 3.2 The JavaScript Engine
    3. 3.3 Variables and Functions: A First Look
  4. 04 Operators 12 lessons 54 min
    1. 4.1 Section Overview
    2. 4.2 Operators in JavaScript
    3. 4.3 Assignment Operators
    4. 4.4 Comparison Operators
    5. 4.5 Arithmetic Operators
    6. 4.6 Bitwise Operators
    7. 4.7 Logical Operators
    8. 4.8 Nullish Coalescing
    9. 4.9 Ternary Operator
    10. 4.10 Other Operators
    11. 4.11 Operator Precedence
    12. 4.12 Section Review
  5. 05 Control Flow 8 lessons 1 h 3 min
    1. 5.1 Section Overview
    2. 5.2 The if, else and else if Statements
    3. 5.3 The switch Statement
    4. 5.4 The for Loop
    5. 5.5 The for...in and for...of Loops
    6. 5.6 The while and do...while Loops
    7. 5.7 Best Practices
    8. 5.8 Section Review
  6. 06 Types 14 lessons 1 h 26 min
    1. 6.1 Section Overview
    2. 6.2 Types in JavaScript
    3. 6.3 Primitive Types
    4. 6.4 Boxing and Wrapper Objects
    5. 6.5 Boolean
    6. 6.6 Number
    7. 6.7 String
    8. 6.8 undefined
    9. 6.9 null
    10. 6.10 BigInt
    11. 6.11 Symbol
    12. 6.12 typeof
    13. 6.13 Type Casting and Coercion
    14. 6.14 Section Review
  7. 07 Objects 14 lessons 1 h 32 min
    1. 7.1 Section Overview
    2. 7.2 Objects in JavaScript
    3. 7.3 Creating Objects
    4. 7.4 Object Properties and Methods
    5. 7.5 Enhanced Object Literals
    6. 7.6 Nested Objects and Optional Chaining
    7. 7.7 The this Keyword
    8. 7.8 Object Cloning and Merging
    9. 7.9 typeof vs instanceof
    10. 7.10 Property Descriptors and Object.defineProperty
    11. 7.11 Object Immutability
    12. 7.12 Prototypes: A First Look
    13. 7.13 Best Practices
    14. 7.14 Section Review
  8. 08 Arrays and Keyed Collections 16 lessons 2 h 3 min
    1. 8.1 Section Overview
    2. 8.2 What Is an Array?
    3. 8.3 Creating Arrays
    4. 8.4 Accessing and Modifying Array Elements
    5. 8.5 Array Methods
    6. 8.6 Looping Through Arrays
    7. 8.7 Transforming Arrays
    8. 8.8 Searching and Sorting Arrays
    9. 8.9 Copying and Merging Arrays
    10. 8.10 Newer Array Methods: at(), findLast(), toSorted() and More
    11. 8.11 Multidimensional Arrays
    12. 8.12 Array-Like Objects and Array.from()
    13. 8.13 Map and Set
    14. 8.14 WeakMap, WeakSet and Typed Arrays
    15. 8.15 Best Practices
    16. 8.16 Section Review
  9. 09 Destructuring, Spread and Rest 8 lessons 37 min
    1. 9.1 Section Overview
    2. 9.2 Array Destructuring
    3. 9.3 Object Destructuring
    4. 9.4 The Rest Operator
    5. 9.5 The Spread Operator
    6. 9.6 Nested Destructuring
    7. 9.7 Best Practices
    8. 9.8 Section Review
  10. 10 Functions 9 lessons 1 h 2 min
    1. 10.1 Section Overview
    2. 10.2 What Is a Function?
    3. 10.3 Declaring Functions
    4. 10.4 Named vs Anonymous Functions
    5. 10.5 Calling Functions and Return Values
    6. 10.6 Parameters and Arguments
    7. 10.7 Arrow Functions
    8. 10.8 Best Practices
    9. 10.9 Section Review
  11. 11 Scope and Variables 12 lessons 1 h 35 min
    1. 11.1 Section Overview
    2. 11.2 Variables
    3. 11.3 Global Variables
    4. 11.4 Strict Mode (use strict)
    5. 11.5 var vs let vs const
    6. 11.6 Scope and the Scope Chain
    7. 11.7 Block Scope
    8. 11.8 Hoisting
    9. 11.9 Context vs Scope
    10. 11.10 Closures
    11. 11.11 Best Practices
    12. 11.12 Section Review
  12. 12 Modules 7 lessons 1 h 9 min
    1. 12.1 Section Overview
    2. 12.2 ES Modules
    3. 12.3 CommonJS
    4. 12.4 AMD and UMD
    5. 12.5 Dynamic Loading
    6. 12.6 Best Practices
    7. 12.7 Section Review
  13. 13 Inheritance and Prototype 12 lessons 2 h 14 min
    1. 13.1 Section Overview
    2. 13.2 Prototype
    3. 13.3 Inheritance
    4. 13.4 Object.create()
    5. 13.5 Constructor Functions
    6. 13.6 Classes
    7. 13.7 The super Keyword
    8. 13.8 Private Fields and Static Properties
    9. 13.9 Polymorphism
    10. 13.10 Mixins and Multiple Inheritance
    11. 13.11 Best Practices
    12. 13.12 Section Review
  14. 14 More on Functions 10 lessons 1 h 34 min
    1. 14.1 Section Overview
    2. 14.2 this in Functions: call(), apply() and bind()
    3. 14.3 IIFE (Immediately Invoked Function Expressions)
    4. 14.4 Recursive Functions
    5. 14.5 Callback Functions
    6. 14.6 Higher-Order Functions
    7. 14.7 Pure Functions and Side Effects
    8. 14.8 Function Properties and Serialization
    9. 14.9 Best Practices
    10. 14.10 Section Review
  15. 15 Built-in Objects 8 lessons 1 h 21 min
    1. 15.1 Section Overview
    2. 15.2 JSON
    3. 15.3 Dates and Times
    4. 15.4 Regular Expressions
    5. 15.5 The Intl API
    6. 15.6 Proxy and Reflect
    7. 15.7 Best Practices
    8. 15.8 Section Review
  16. 16 Error Handling and Debugging 9 lessons 1 h 28 min
    1. 16.1 Section Overview
    2. 16.2 DevTools: Breakpoints and Debugging
    3. 16.3 Other Debugging Tools and Methods
    4. 16.4 try, catch and finally
    5. 16.5 throw and Error Objects
    6. 16.6 Custom Error Types
    7. 16.7 Global Error Handling
    8. 16.8 Best Practices
    9. 16.9 Section Review
  17. 17 Asynchronous JavaScript 12 lessons 2 h 18 min
    1. 17.1 Section Overview
    2. 17.2 The JavaScript Concurrency Model
    3. 17.3 Synchronous vs Asynchronous Code
    4. 17.4 Timers: setTimeout and setInterval
    5. 17.5 Callbacks and Callback Hell
    6. 17.6 Promises
    7. 17.7 Promise Combinators
    8. 17.8 async and await
    9. 17.9 The Fetch API
    10. 17.10 Event Loop Deep Dive
    11. 17.11 Best Practices
    12. 17.12 Section Review
  18. 18 DOM and DOM Operations 11 lessons 1 h 52 min
    1. 18.1 Section Overview
    2. 18.2 What Is the DOM?
    3. 18.3 Web APIs vs JavaScript
    4. 18.4 How to Select Elements
    5. 18.5 DOM Manipulation
    6. 18.6 DOM Performance: Reflows, Repaints and DocumentFragment
    7. 18.7 Shadow DOM
    8. 18.8 MutationObserver and IntersectionObserver
    9. 18.9 Web Storage: localStorage and sessionStorage
    10. 18.10 Best Practices
    11. 18.11 Section Review
  19. 19 Events 11 lessons 2 h 4 min
    1. 19.1 Section Overview
    2. 19.2 Events Basics
    3. 19.3 Bubbling and Capturing
    4. 19.4 Event Delegation
    5. 19.5 Passive Event Listeners
    6. 19.6 Forms and Input Events
    7. 19.7 Accessibility Basics
    8. 19.8 Custom Events and EventTarget
    9. 19.9 Web Security Basics
    10. 19.10 Best Practices
    11. 19.11 Section Review
  20. 20 Tooling 13 lessons 2 h 9 min
    1. 20.1 Section Overview
    2. 20.2 Package Management and npm
    3. 20.3 Node.js and nvm
    4. 20.4 Transpilers
    5. 20.5 Bundlers
    6. 20.6 Linters and Formatters
    7. 20.7 TypeScript for JavaScript Developers
    8. 20.8 Version Control and Collaboration
    9. 20.9 Development Servers and Live Reload
    10. 20.10 Testing Setup
    11. 20.11 Continuous Integration Basics
    12. 20.12 Best Practices
    13. 20.13 Section Review
  21. 21 Our First Project 11 lessons 2 h 18 min
    1. 21.1 Section Overview
    2. 21.2 Project Setup
    3. 21.3 Rendering the List
    4. 21.4 Handling User Actions
    5. 21.5 Searching Books with Fetch
    6. 21.6 Saving to localStorage
    7. 21.7 Testing and Building
    8. 21.8 Debugging in Production
    9. 21.9 From Vanilla JavaScript to Frameworks
    10. 21.10 Best Practices
    11. 21.11 Section Review
  22. 22 Performance and Memory 9 lessons 1 h 35 min
    1. 22.1 Section Overview
    2. 22.2 Measuring Performance
    3. 22.3 Garbage Collection
    4. 22.4 Memory Leaks
    5. 22.5 Workers
    6. 22.6 Debounce and Throttle
    7. 22.7 Lazy Loading
    8. 22.8 Best Practices
    9. 22.9 Section Review
  23. 23 Functional and Advanced Techniques 10 lessons 1 h 50 min
    1. 23.1 Section Overview
    2. 23.2 Currying and Partial Application
    3. 23.3 Function Composition
    4. 23.4 Memoization
    5. 23.5 Iterators
    6. 23.6 Generators: function* and yield
    7. 23.7 Async Iterators and for await...of
    8. 23.8 Tail Call Optimization (TCO)
    9. 23.9 Best Practices
    10. 23.10 Section Review
  24. 24 How to Prepare for an Interview 9 lessons 1 h 38 min
    1. 24.1 Section Overview
    2. 24.2 Core JavaScript Questions
    3. 24.3 Big O Notation
    4. 24.4 Coding Challenges
    5. 24.5 More Coding Challenges
    6. 24.6 Real-World Questions
    7. 24.7 Take-Home Tasks and Your Project
    8. 24.8 What to Learn Next
    9. 24.9 Section Review
234 lessons, free to start JavaScript course
Create account