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