Course · Intermediate

Modern Frontend: JavaScript, TypeScript and React

Learn JavaScript the way a college syllabus and a first frontend job both need it: the language, the DOM and events, forms and storage, async code and Web APIs, modules, tooling, performance and deployment; then TypeScript, React and Next.js.

Level
Intermediate
Units
14 units, 69 lessons
Time
About 26 hours
Access
Unit 1 free, the rest with Pro
Practice
120 problems the judge checks
Certificate
Yes, anyone can verify it

What you will be able to do

  • Write correct JavaScript: types, control flow, functions, scope, closures, objects, arrays, this and classes
  • Handle errors clearly and debug with stack traces and breakpoints
  • Change pages and handle events with the DOM, including bubbling and event delegation
  • Validate forms with regular expressions and keep data with JSON, Web Storage and cookies
  • Write asynchronous code with the event loop, promises and async/await, and use fetch, URL and IntersectionObserver
  • Use ES modules, npm and Vite, and ship a fast frontend
  • Use TypeScript and build React apps with components, state, effects and routing

Before you start: The Faurus HTML & CSS course (or the same: semantic HTML, forms, flexbox, grid, responsive layout) and one programming language at the level of Introduction to Computer Programming (ICP).

Syllabus

14 units, in order

  1. Unit 1Free

    JavaScript basics: data types and control flow

    Write and run your first JavaScript: values and their types, strict equality, strings and numbers, conditions and loops, compared with Python where it helps.

    5 lessons · 78 min
  2. Unit 2

    Functions, scope and closures

    Functions as the building block of every program: declarations and arrow functions, parameters and return values, where a variable can be seen, hoisting, and closures that remember state.

    3 lessons · 66 min
  3. Unit 3

    Arrays, objects and this

    Work with real data: objects and arrays, destructuring, spread and rest, array methods, the keyword this, call, apply and bind, classes and prototypes.

    4 lessons · 110 min
  4. Unit 4

    Error handling and debugging

    Programs that fail clearly instead of silently: Error objects, throw, try, catch and finally, custom errors, checking input, and finding bugs with stack traces and the debugger.

    3 lessons · 78 min
  5. Unit 5

    The DOM: changing the page and handling events

    Make pages respond to people with plain JavaScript: the DOM tree, selecting and changing elements safely, creating and removing elements, events, bubbling, capturing and event delegation.

    5 lessons · 126 min
  6. Unit 6

    Forms, validation and browser storage

    Collect and keep data in the browser: form events and FormData, built-in validation, regular expressions for checking input, JSON, localStorage and sessionStorage, and cookies.

    5 lessons · 130 min
  7. Unit 7

    Asynchronous JavaScript

    How JavaScript waits without blocking: the event loop, callbacks, promises, async and await, running work in parallel, timeouts, cancelling and retries.

    5 lessons · 124 min
  8. Unit 8

    Web APIs: fetch, URL and observers

    The browser APIs every frontend uses: fetch and HTTP status codes, URL and URLSearchParams, and IntersectionObserver for lazy loading and infinite lists.

    3 lessons · 88 min
  9. Unit 9

    Modules, tooling, performance and deployment

    From a script to a shipped site: ES modules, npm and package.json, the Vite dev server and build, web performance basics and deploying a frontend.

    5 lessons · 134 min
  10. Unit 10

    TypeScript essentials

    Types that catch bugs before users do: basic and object types, unions and narrowing, generics, utility types, strict mode, and checking untrusted data at run time.

    7 lessons · 102 min
  11. Unit 11

    React foundations

    Build interfaces from components: JSX, props, lists, state, forms and shared state, in a React and TypeScript project set up the way teams do in 2026.

    7 lessons · 126 min
  12. Unit 12

    React in depth

    Effects and data fetching with loading, error and empty states, reducers and context, custom hooks, refs, and how React decides what to re-render.

    6 lessons · 130 min
  13. Unit 13

    Building real frontends

    What turns components into a product: routing, server state and caching, styling with Tailwind CSS and design systems, component tests and web performance.

    7 lessons · 198 min
  14. Unit 14

    React frameworks: Next.js and server rendering

    Where code runs in a modern React app: client and server rendering, Server Components and Server Functions, App Router route handlers and caching, and the security rules that come with them.

    4 lessons · 116 min

How a course works

Short lessons. Real checks.

  1. Read a little

    A short explanation with an example, written for students, not for experts.

  2. Change it and run it

    Edit the example code in the lesson and run it to see what changes.

  3. Check, then solve

    A quick check, then practice problems the judge checks on hidden tests.

  4. Checkpoints and a final test

    Pass them to finish the course and get your certificate.

Modern Frontend: JavaScript, TypeScript and React, on a real judge.