Frontend School
DashboardProblemsLearnPracticeMock InterviewReportsStatsBuy Credits
DashboardProblemsLearnPracticeMock Interview
All courses

JavaScript

JavaScript for Frontend Interviews

Learn JavaScript from variables to the event loop, with the closures, `this`, async and prototype questions interviewers ask.

20 lessons1h 13mFree
Start course
  1. 1

    Introduction to JavaScript & Setup

    Understand what JavaScript is, where it runs, and set up your development environment using browser developer tools.

    4 min
  2. 2

    Variables and Data Types

    Learn about `var`, `let`, `const` and JavaScript's primitive data types including numbers, strings, booleans, null, and undefined.

    3 min
  3. 3

    Operators and Expressions

    Explore arithmetic, assignment, comparison, logical, and ternary operators to perform operations and build expressions.

    4 min
  4. 4

    Control Flow: Conditionals

    Master `if/else`, `else if`, and `switch` statements to control the execution flow of your programs based on conditions.

    4 min
  5. 5

    Control Flow: Loops

    Learn to use `for`, `while`, `do/while`, `for...of`, and `for...in` loops to iterate over data and repeat actions.

    4 min
  6. 6

    Functions: Basics

    Understand how to declare, call, and pass arguments to functions, along with returning values and function expressions.

    3 min
  7. 7

    Arrays and Objects

    Dive into fundamental data structures: creating and manipulating arrays and objects, including common methods.

    4 min
  8. 8

    Higher-Order Functions & Callbacks

    Explore functions that operate on other functions, focusing on `map`, `filter`, `reduce`, and the concept of callbacks.

    3 min
  9. 9

    Scope and Closures

    Deepen your understanding of variable scope (global, function, block) and the powerful concept of closures.

    3 min
  10. 10

    `this` Keyword and Context

    Demystify the `this` keyword and how its value changes based on the execution context in different scenarios.

    3 min
  11. 11

    Asynchronous JavaScript: Callbacks & Promises

    Introduce asynchronous operations, the event loop (briefly), and handle async code using callbacks and basic Promises.

    4 min
  12. 12

    ES6+ Features (Part 1)

    Cover modern JavaScript syntax including arrow functions, template literals, destructuring, and spread/rest operators.

    3 min
  13. 13

    ES6+ Features (Part 2)

    Continue with ES6+ features like JavaScript modules (import/export), default parameters, and the class syntax.

    4 min
  14. 14

    Error Handling & Debugging

    Learn to gracefully handle errors using `try...catch` and `throw`, and effectively debug your code with browser tools.

    4 min
  15. 15

    Asynchronous JavaScript: Async/Await

    Master modern asynchronous patterns with `async` functions and the `await` keyword for cleaner, more readable code.

    3 min
  16. 16

    Prototypal Inheritance & `new` Keyword

    Understand JavaScript's unique prototypal inheritance model, the prototype chain, and how the `new` keyword works.

    4 min
  17. 17

    Event Loop, Microtasks & Macrotasks

    Deep dive into the JavaScript event loop, understanding the call stack, event queue, microtask queue, and macrotask queue.

    4 min
  18. 18

    Working with the DOM

    Learn to select, manipulate, and respond to events on HTML elements using the Document Object Model (DOM).

    4 min
  19. 19

    Advanced Array Methods & Data Structures

    Explore advanced `reduce` patterns, and dive into `Set`, `Map`, `WeakMap`, and `WeakSet` for efficient data handling.

    4 min
  20. 20

    Frontend Interview Prep & Best Practices

    Review common JavaScript interview questions, discuss performance optimization, clean code, and design patterns for robust applications.

    4 min