Guided Exercise Studio
225 guided exercises with predictions, three-level hints, automatic verification and solutions. Open one below or work through them inside each lesson.
Lesson 1: What JavaScript is and where it runs
Lesson 2: Your first JavaScript program
Lesson 3: Statements, expressions and comments
Lesson 4: Using the console and understanding output
Lesson 5: Reading errors and developing a programming mindset
Lesson 6: Variables with let and const
Lesson 7: Strings and template literals
Lesson 8: Numbers and mathematical operations
Lesson 9: Booleans, null and undefined
Lesson 10: Type conversion and type checking
Lesson 11: Comparison operators
Lesson 12: Logical operators
Lesson 13: If, else if and else
Lesson 14: Switch statements and conditional expressions
Lesson 15: Building decision-making applications
Lesson 17: While and do-while loops
Lesson 18: Break and continue
Lesson 19: Nested loops and patterns
Lesson 20: Solving problems with iteration
Lesson 21: Function declarations and expressions
Lesson 22: Parameters and arguments
Lesson 24: Arrow functions
Lesson 25: Combining functions into applications
Lesson 26: Creating and accessing arrays
Lesson 27: Adding and removing elements
Lesson 28: Searching and sorting arrays
Lesson 29: Iterating over collections
Lesson 30: Building collection-based applications
Lesson 31: forEach and iteration
Lesson 32: map and transformations
Lesson 33: filter and selection
Lesson 34: reduce and aggregation
Lesson 35: Combining array methods into processing pipelines
Lesson 36: Creating JavaScript objects
Lesson 37: Properties, methods and dynamic keys
Lesson 38: Nested objects and arrays
Lesson 39: Object copying and reference behavior
Lesson 40: Modeling real-world information
Lesson 42: Spread and rest syntax
Lesson 43: Optional chaining
Lesson 44: Nullish coalescing and default values
Lesson 45: Sets, Maps and modern collection patterns
Lesson 46: Global, function and block scope
Lesson 47: Lexical environments
Lesson 49: Hoisting and the temporal dead zone
Lesson 50: Understanding execution contexts
Lesson 51: Understanding the DOM tree
Lesson 52: Selecting elements
Lesson 53: Reading and changing content
Lesson 54: Creating and removing elements
Lesson 55: Updating styles, attributes and classes
Lesson 56: Event listeners
Lesson 58: Event bubbling and capturing
Lesson 59: Event delegation
Lesson 60: Building interactive components
Lesson 61: Reading form values
Lesson 62: Input events and form submission
Lesson 63: Native browser validation
Lesson 64: Custom validation rules
Lesson 65: Accessible form feedback
Lesson 66: Understanding application state
Lesson 67: Rendering interfaces from state
Lesson 68: Local storage and session storage
Lesson 69: JSON serialization
Lesson 70: IndexedDB fundamentals
Lesson 71: Separating data, logic and presentation
Lesson 72: Reusable UI components
Lesson 73: State-driven rendering
Lesson 74: Filtering, searching and pagination
Lesson 75: Building maintainable browser applications