All coursesWeb

Stop fighting React and start engineering with it.

  • Free
  • 8 weeks
  • Beginner → Intermediate
See the outline

Read the guide: Frontend developer roadmap: what to learn, in order

Frontend engineering workstation with design systems, responsive CSS UI components, and component library
Accredited Curriculum & Certification
Official Syllabus Snapshot

Direct Answer: Stop fighting React and start engineering with it — architecture, hooks, state, routing, performance, accessibility, and tests that survive a refactor.

Tuition Fee
100% Free
Duration & Workload
~11 Hours
Curriculum Depth
12 Chapters · 48 Lessons
Credential Awarded
Verified Certificate
12Chapters

Course outline

What a component actually is, how to compose instead of configure, and where state belongs.

  • Components, Props, and the Rendering Contract12 min
  • Composition Over Configuration13 min
  • Where State Lives13 min
  • Prop APIs, Defaults, and Forwarded Refs13 min

State, effects, refs, and the custom hooks you extract once the patterns repeat.

  • useState, Batching, and useReducer13 min
  • useEffect: Dependencies, Cleanup, and Races14 min
  • Refs, Layout Effects, and Custom Hooks14 min
  • useId, useSyncExternalStore, and useImperativeHandle14 min

Choosing where state lives at application scale, and wiring the URL to your component tree.

  • Client State vs Server State13 min
  • Context Without the Re-render Tax13 min
  • Routing with React Router14 min
  • Optimistic Updates and Cache Invalidation14 min

Why React re-renders, what memoisation actually buys, and how to ship less JavaScript and fewer DOM nodes.

  • Why React Re-renders13 min
  • memo, useMemo, useCallback — and When Not To14 min
  • Code Splitting and List Virtualisation14 min
  • Moving Work Off the Main Thread13 min

The three things that separate a demo from a product people can actually use and you can safely change.

  • Forms and Validation14 min
  • Accessibility in React13 min
  • Testing with React Testing Library15 min
  • Wizards, Field Arrays, and File Uploads14 min

Failing gracefully, building for a real environment, and the loading metrics users actually feel.

  • Error Boundaries and Graceful Failure13 min
  • Builds, Environments, and Source Maps14 min
  • Core Web Vitals in a React App14 min
  • Release Pipelines, Flags, and Rollback13 min

The attacks that reach the browser, the tokens you must not leak, and how to find a bug you cannot reproduce.

  • XSS and Trusted Output13 min
  • Auth Tokens, Cookies, and CORS14 min
  • Debugging What You Cannot Reproduce14 min
  • Dependencies and the Supply Chain13 min

Modelling props, state, and API responses so that whole classes of the runtime bugs you just learned to debug stop compiling.

  • Typing Props, State, and Events13 min
  • Discriminated Unions and Impossible States13 min
  • Generic Components and Typed Hooks13 min
  • Types at the API Boundary13 min

Deciding what deserves a test, driving a real browser with Playwright, and keeping a suite fast and honest enough that a red build actually stops a deploy.

  • Choosing What to Test, and at Which Level13 min
  • End-to-End Tests with Playwright14 min
  • Flake, Fixtures, and Deterministic Test Data13 min
  • Visual Regression and Automated Accessibility Gates14 min

Turning one team's components into a styling architecture, accessible primitives, and a versioned package other teams can safely depend on.

  • Styling Architecture and the Cascade at Scale13 min
  • Design Tokens, Theming, and Dark Mode13 min
  • Headless Primitives: Dialogs, Menus, and Comboboxes13 min
  • Publishing, Versioning, and Driving Adoption13 min

Moving rendering to the server, surviving hydration, and streaming a page that is useful long before all of its data has arrived.

  • Why Render on the Server, and When Not To14 min
  • Hydration and the Mismatch Bugs14 min
  • Streaming, Suspense, and Selective Hydration14 min
  • Server Components, Actions, and the Client Boundary14 min

Structuring a codebase that many teams commit to, migrating the parts you inherited rather than rewriting them, and governing the whole estate over years.

  • Monorepos, Shared Packages, and Build Caching14 min
  • Micro-Frontends and Module Federation14 min
  • Incremental Migration, Codemods, and Legacy Code14 min
  • Budgets, Standards, and Deprecation Paths13 min

Final exam & certificate

  1. 01

    Topic checks

    Each one opens the next topic

  2. 02

    Chapter quizzes

    Each one opens the next chapter

  3. 03

    50-question final

    50 of 100 marks to pass

  4. 04

    Certificate

    Issued instantly, verifiable

One attempt, 60 minutes. If you don't pass, you can retake once after 30 days.

The course guide

Frontend developer roadmap: what to learn, in order

A hand-drawn website wireframe on white paper next to an orange pen

A frontend developer roadmap that works goes in this order: HTML and CSS until you can build a page from a screenshot, then JavaScript properly, then Git, then one framework (React is the safe choice), then forms, accessibility and testing, then performance and shipping to production. TypeScript, design systems and server rendering come after you have built and deployed real things. Skipping ahead is the most common reason people spend a year "learning React" and still cannot build a working signup form.

Most roadmap charts online show dozens of logos with arrows between them. This page tells you which ones matter now. Our free Frontend Engineering course covers the React half of the road in detail, so you can use this article as the map and the course as the road.

What a frontend developer actually does

A frontend developer builds the part of a product that people touch: the pages, buttons, forms, menus and loading states. The job is less about making things pretty and more about making them correct. Does the form keep the user's input when the network fails? Can someone use the menu with a keyboard? The hard part is building something a team can change for years without breaking it.

Architectural Blueprint and Learning Stages for Frontend developer roadmap: what to learn, in order — Cortexis Roadmap Diagram
Figure 1: Complete step-by-step architectural workflow and technical execution stages for Frontend developer roadmap: what to learn, in order.

The frontend developer roadmap, step by step

Here is the full order, with a rough idea of what "done" looks like at each step. The time column assumes a couple of hours most days, and it will vary a lot from person to person.

StepLearnYou are ready to move on whenRough time
1HTML and CSSYou can rebuild a simple landing page from a screenshot, and it works on a phone4 to 6 weeks
2JavaScriptYou can fetch data from an API and render it, handling loading and errors6 to 8 weeks
3Git and GitHubYour projects live in repositories with small, regular commits1 week, then daily habit
4React fundamentalsYou can split a page into components and decide where each piece of state belongs3 to 4 weeks
5Forms, accessibility, testingYour forms work with a keyboard and a screen reader, and you have tests that survive a refactor3 to 4 weeks
6Performance and productionYou can measure why a page is slow and deploy with environments and error handling2 to 3 weeks
7TypeScript, design systems, server renderingYou are working on a team codebase, or building for oneOngoing

Step 1: HTML and CSS

Learn semantic HTML first: headings, lists, buttons that are real <button> elements, labels attached to inputs. Many accessibility problems in real apps come from a <div> pretending to be a button. Then learn CSS layout properly, meaning Flexbox, Grid, and how the cascade decides which rule wins. A UI framework hides weak CSS; it does not fix it.

Step 2: JavaScript, properly

This is the step people rush, and it costs them later. Before React, you should be comfortable with functions, arrays and objects, map and filter, async and await, promises, and how closures capture variables. Many React bugs are really JavaScript bugs: a stale value captured in a closure, an object mutated in place, a falsy 0 rendered on screen. If you want a quick check of where you stand, try our JavaScript output questions.

Step 3: Git

Learn Git early, before your code is worth losing. Commit small, write messages that say why, and push to GitHub. Recruiters and reviewers often look at commit history, and a repository with commits spread across weeks tells a better story than one giant upload. Our free Git & GitHub course covers the workflow.

Step 4: React

Pick one framework and stay with it; React is the safe choice and the one our course uses. The goal here is not to memorise hooks. It is to understand what a component is, why render must be pure, and where state should live.

What the free Frontend Engineering course covers

The course is 12 chapters and 48 lessons, each lesson roughly 12 to 15 minutes of reading with code. It is labelled Beginner to Intermediate and planned for about 8 weeks. It starts at React, not at HTML, so it assumes you already have steps 1 to 3 behind you.

ChapterWhat you learn
1. Component ArchitectureThe rendering contract, composition over configuration, where state lives, prop APIs and forwarded refs
2. Hooks in DepthuseState and batching, useReducer, useEffect dependencies, cleanup and races, refs, custom hooks, useId and useSyncExternalStore
3. State Management and RoutingClient state versus server state, context without re-render storms, React Router, optimistic updates and cache invalidation
4. PerformanceWhy React re-renders, when memo, useMemo and useCallback help and when they do nothing, code splitting, list virtualisation, moving work off the main thread
5. Forms, Accessibility, and TestingValidation, accessible components, React Testing Library, wizards, field arrays and file uploads
6. Shipping to ProductionError boundaries, builds and environment variables, source maps, Core Web Vitals, release pipelines, feature flags and rollback
7. Security and DebuggingXSS and trusted output, auth tokens, cookies and CORS, debugging bugs you cannot reproduce, dependency and supply chain risk
8. TypeScript in ReactTyping props, state and events, discriminated unions, generic components, types at the API boundary
9. Test Strategy and AutomationChoosing what to test, Playwright end to end tests, flaky tests and test data, visual regression and automated accessibility checks
10. Design Systems and Component LibrariesStyling architecture, design tokens and dark mode, headless dialogs, menus and comboboxes, publishing and versioning a package
11. Server Rendering and StreamingWhen to render on the server, hydration mismatch bugs, streaming with Suspense, Server Components and Actions
12. Frontend Architecture at ScaleMonorepos and build caching, micro-frontends and when they are not worth it, incremental migration and codemods, performance budgets

Each chapter is built around a class of real bug, such as the stale closure or the context that re-renders the whole tree, so you finish able to diagnose it.

Common mistakes on the frontend roadmap

  • Starting with a framework. React on shaky JavaScript feels like magic until something breaks. Spend the extra weeks on step 2.
  • Collecting tutorials instead of finishing projects. Ten half built clones are worth less than one finished app with a login, a form, error states and a live URL.
  • Ignoring accessibility. It is not an optional extra. Keyboard support and proper labels are basic correctness, and many teams check for them in review.
  • Memoising everything. Wrapping every component in memo does not make an app fast. Measure first with the React profiler, then fix the one thing that is actually slow.
  • Putting everything in global state. Most state belongs close to the component that uses it. Data from the server is a cache, not app state, and should be treated like one.
  • Testing implementation details. Tests that check class names or internal state break on every refactor. Test what the user sees and does.

A first project that proves you can do the job

Build a small app with real data, for example a course catalogue, an expense tracker or a recipe search. It should have a list page and a detail page with routes, a search or filter stored in the URL, a form with validation that works with a keyboard, proper loading, empty and error states, at least a few tests written with React Testing Library, and a live deployment. Add a README explaining one bug you hit and how you fixed it.

If you are aiming at jobs here, our guide to which programming language to learn first in Pakistan explains why JavaScript and React show up so often in local job posts.

Who this roadmap and course are for

The roadmap suits anyone starting web development from zero. The course itself suits people who already know HTML, CSS and JavaScript and have built something small, and now want to write React the way working teams do.

If you are starting from nothing, begin with Full Stack Web Development, which starts at raw HTML, and come back once you can build a page with JavaScript. If you want stronger types after chapter 8, the TypeScript course goes further.

How long it takes and how the free certificate works

The course is planned for 8 weeks at a steady pace. The full roadmap from zero to a junior level portfolio takes many months, and depends more on projects finished than hours watched.

Each lesson ends with a short quiz, which unlocks after 90 seconds on the lesson, and you need 70 percent to pass it. The course ends with a final exam of 50 questions in 60 minutes, and you pass with 50 out of 100 marks. You get one timed attempt; if it does not go your way, a single retake opens 30 days later. Pass, and the certificate is issued with a verification code anyone can check.

Be honest with yourself about what it means. It proves you passed our exam. It will not get you a job on its own; a deployed project and a clean GitHub history will carry more weight. Our post on whether free online certificates are worth anything covers this without the sales pitch.


Ready to start? Frontend Engineering begins with what a React component actually is and where state belongs, and it is free from the first lesson to the certificate.

Questions, answered

05 questions