Skip to main content

Frontend

Frontend Developer Roadmap: From HTML to Production React & Next.js

A dependency-ordered frontend roadmap: semantic HTML, CSS, JavaScript and browser APIs, TypeScript, React and Next.js, then accessibility, testing, performance, and production work.

  • By Ahmed Alaydi
  • Published
  • Updated
  • 23 min read
On this page

If you have started learning frontend, you have probably met the problem this roadmap is for: there is too much to learn, every tutorial starts from a different place, and the tools seem to change before you finish a course. The usual result is switching frameworks every few weeks, or building a tenth to-do app and still not feeling ready for real work.

Part of the confusion is that frontend has a reputation problem: from outside it looks like arranging boxes and choosing colors. In practice it is the layer where an application meets unpredictable people on unpredictable devices and connections, and where most of the states nobody planned for show up. Doing it well is engineering.

The roadmap below is ordered by dependency, not by popularity: each stage exists because the next one is hard to understand without it. It ends with a staged plan of projects, so you always know what to build next and how to tell when you are ready to move on.

HTML and CSS, properly

HTML is usually rushed through, and it shows later in inaccessible, unsemantic markup that no framework can rescue. Learning it properly means choosing elements for their meaning rather than their default appearance: headings that describe the structure of the page, buttons that are buttons, links that go somewhere, labels tied to their inputs, lists for lists, and landmarks such as header, nav, main, and footer. Screen readers, search engines, browser features like reader mode and form autofill, and your future self all depend on that meaning.

html
<!-- Looks like a button, but isn't one: not focusable with Tab,
     ignores Enter and Space, and is announced as plain text. -->
<div class="btn" onclick="save()">Save</div>

<!-- A real button: focusable, keyboard-operable, and announced
     as "Save, button" without any extra work. -->
<button type="button" onclick="save()">Save</button>

<!-- A label tied to its input: clicking the text focuses the field,
     and screen readers announce the field by its name. -->
<label for="email">Email</label>
<input id="email" name="email" type="email" autocomplete="email" required>
The native element gives you focus, keyboard support, and a role for free.

CSS: a few systems, not a list of properties

CSS rewards understanding a few systems rather than memorizing properties. The cascade decides which rule wins when several apply, using origin, cascade layers, specificity, and source order. The box model explains why an element is the size it is, and box-sizing: border-box removes most of the surprise. Flexbox handles layout in one direction, a row or a column; grid handles two dimensions at once. Once these click, most layout problems stop being mysterious.

Utility frameworks such as Tailwind are worth using, but they are a way of writing CSS. They do not replace knowing how the cascade, the box model, and layout work; when something breaks, that knowledge is what fixes it.

Responsive design

Responsive design starts with the <meta name="viewport" content="width=device-width, initial-scale=1"> tag and a layout that is fluid by default: relative units, flexible grids, images that never overflow their container. Media queries then adjust the layout where the content starts to break, not at the widths of particular phones. Container queries let a component respond to the space it is given rather than the whole screen, which suits reusable components. And if you build for Arabic readers, use logical properties (margin-inline-start instead of margin-left) so one stylesheet works in both directions.

css
/* Width includes padding and border: fewer layout surprises. */
*, *::before, *::after {
  box-sizing: border-box;
}

/* A responsive card grid with no media query: as many columns
   of at least 16rem as fit, sharing the leftover space. */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  gap: 1rem;
}

/* Logical properties follow the writing direction, so the same
   rule works in English (LTR) and Arabic (RTL). */
.card {
  padding-inline: 1rem;
  border-inline-start: 4px solid currentColor;
}

img {
  max-inline-size: 100%;
  block-size: auto;
}
Fluid by default, direction-aware, and no breakpoints needed for the grid.

JavaScript: the stage worth not rushing

This is where most people go wrong, and the mistake always has the same shape: reaching for React while JavaScript is still shaky. React is written in JavaScript, so every gap in the language turns into a mystery that gets blamed on the framework. Time spent here is repaid many times over.

  • The language itself: values and types, scope, closures, this, array and object methods, destructuring, and ES modules (import / export).
  • Asynchronous JavaScript: the event loop, promises, async / await, error handling with try / catch, and why code does not always run in the order it is written.
  • HTTP from the client: methods, status codes, headers, JSON, and CORS, which is a browser rule enforced on the response, not a bug in your fetch call.
  • Tooling you will use daily: Git, the terminal, npm or pnpm, a bundler or dev server such as Vite, a linter, and the browser's DevTools, especially the Network, Elements, and Performance panels.

The browser is the platform: DOM, events, fetch, storage

Frameworks are layers over a handful of browser APIs. Learning those APIs directly is what lets you debug the layers later.

  • The DOM: selecting, creating, and updating elements. Prefer textContent over innerHTML for user-supplied data; innerHTML with untrusted input is how cross-site scripting (XSS) gets in.
  • Events: how events bubble up the tree, event.target versus event.currentTarget, preventDefault(), and event delegation, where one listener on a parent handles many children.
  • fetch: it rejects only on network failure. A 404 or 500 still resolves, so you check response.ok yourself. AbortController cancels requests the user no longer needs.
  • Storage: localStorage is synchronous, stores strings only, and is readable by any script on the page. It is fine for a theme preference and a poor place for session tokens.
  • The URL and history: URL and URLSearchParams for reading and building addresses, and the History API for keeping state such as filters in the address bar, so a page can be shared and reloaded.
javascript
// In a <script type="module">, top-level await is allowed.
// #status is a <p role="status">, so screen readers announce changes.
const status = document.querySelector("#status");
const list = document.querySelector("#products");

async function loadProducts() {
  const response = await fetch("/api/products");
  // fetch only rejects on network failure; HTTP errors must be checked.
  if (!response.ok) {
    throw new Error("Request failed with status " + response.status);
  }
  return response.json();
}

status.textContent = "Loading…";
try {
  const products = await loadProducts();
  if (products.length === 0) {
    status.textContent = "No products yet.";
  } else {
    status.textContent = "";
    for (const product of products) {
      const item = document.createElement("li");
      item.textContent = product.name; // never innerHTML for data
      list.append(item);
    }
  }
} catch {
  status.textContent = "Could not load products. Please try again.";
}
Loading, empty, error, and success: four states, handled without a framework.

A fair self-check before moving on: can you fetch data from an API, render it to the page, handle the loading, empty, and error states, and explain why your code ran in the order it did? If yes, you are ready for a framework. If not, a framework will hide the gap for a while and then make it harder to find.

When you need a framework, and when you don't

Frameworks solve a specific problem: keeping the interface in sync with changing application state without hand-written DOM updates everywhere. You describe what the UI should look like for a given state, and the framework works out the changes. When there is little state to keep in sync, that machinery costs more than it saves: a build pipeline, a runtime shipped to every visitor, and more ways for things to break.

What you are buildingA sensible starting pointWhy
A brochure site, documentation, a blog, a landing pagePlain HTML and CSS, or a static site generatorThe content is the same for every visitor, and it can be hosted as plain files.
A few interactive widgets: a menu, tabs, a formPlain JavaScript on top of static or server-rendered HTMLA small amount of behavior does not justify a runtime and a build pipeline.
An app-like interface with a lot of shared, changing state: editors, dashboardsA component framework such as React, Vue, Svelte, or AngularDeclarative rendering keeps the UI and the state consistent as the number of states grows.
Content plus app features: search-sensitive pages, accounts, server data, formsA full-stack framework such as Next.js (or Nuxt, SvelteKit, React Router)Routing, server rendering, data loading, and metadata come as one system.
Match the tool to the problem, not to the job ads.

Most real projects grow from one row to the next, so the framework is a decision you can make when the need appears. Even Next.js can produce a fully static site with output: "export", which is one reason a full-stack framework is a reasonable default for projects you expect to grow, and overkill for a five-page site that will not.

TypeScript: types for the code you control

TypeScript is the natural next addition, and most professional frontend code is now written in it. It catches a whole class of mistakes before the code runs, and it makes larger codebases far easier to navigate because the types tell you what a function expects without hunting for its definition. Turn on strict mode from the start; adding it later is much harder.

One misconception is worth correcting early: types are erased at build time and check nothing at runtime. Annotating an API response as Product[] is a promise the compiler believes, not a check. Data that crosses a boundary, such as a network response, form input, or localStorage, should be treated as unknown and validated, often with a schema library such as Zod or Valibot. Where types shine is in modeling your own states so that impossible combinations cannot be written.

typescript
type RemoteData<T> =
  | { status: "loading" }
  | { status: "error"; message: string }
  | { status: "success"; data: T };

function describe(state: RemoteData<string[]>): string {
  switch (state.status) {
    case "loading":
      return "Loading…";
    case "error":
      return state.message; // only exists on the error variant
    case "success":
      return state.data.length === 0 ? "Nothing here yet." : state.data.join(", ");
  }
}
A discriminated union: "loading with data" or "error without a message" cannot be expressed.

React, or one framework learned deeply

React has the largest ecosystem and job market and pairs with Next.js. Vue is smaller but genuinely well designed, often considered gentler to learn, and pairs with Nuxt. Svelte and Angular are serious options too. They are alternatives, not sequential steps. Pick one, go deep, and ignore the others until you have shipped something: the concepts transfer, and a developer who knows one framework well is far more useful than one who knows a little of several.

A sensible React order

  1. Components, props, and JSX: breaking an interface into pieces and passing data down.
  2. State with useState, and the idea that a render is a snapshot: state updates take effect on the next render.
  3. Lists with stable keys (an id, not the array index for lists that change), conditional rendering, and forms.
  4. Effects with useEffect, learned together with You Might Not Need an Effect: effects are for synchronizing with systems outside React, not for computing values.
  5. Routing, then data fetching with loading and error states, then server state with a library such as TanStack Query (formerly React Query) or SWR.
  6. Shared client state, then performance: measuring with the React DevTools Profiler before optimizing anything.
  7. Component architecture: composition, and where to draw boundaries as an app grows.
tsx
// Avoid: an Effect that copies props into state. It renders twice
// and can drift out of sync with the props.
//   const [visible, setVisible] = useState<Product[]>([]);
//   useEffect(() => {
//     setVisible(products.filter((p) => p.name.includes(query)));
//   }, [products, query]);

// Prefer: derive the value during render.
type Product = { id: string; name: string };

export function ProductList({ products, query }: { products: Product[]; query: string }) {
  const needle = query.trim().toLowerCase();
  const visible = products.filter((p) => p.name.toLowerCase().includes(needle));

  if (visible.length === 0) return <p>No products match “{query}”.</p>;

  return (
    <ul>
      {visible.map((p) => (
        <li key={p.id}>{p.name}</li>
      ))}
    </ul>
  );
}
If a value can be computed from props or state, compute it; don't store it.

On memoization: useMemo, useCallback, and memo are optimizations, not defaults. The React Compiler, now stable but still optional, can apply memoization automatically at build time, and React's docs recommend relying on it for new code where it is enabled. Either way, the rule is the same: measure first.

Next.js: the App Router, Server Components, and caching

Next.js adds the parts React deliberately leaves out: routing, server rendering, data loading conventions, metadata, image and font handling, and a deployment story. The concept worth understanding first is that not everything has to run in the browser, and that the split between server and browser can be made component by component.

The App Router

Routes are folders inside app/. A page.tsx makes a route publicly reachable, a layout.tsx wraps its segment and keeps its state across navigations, and special files such as loading.tsx, error.tsx, and not-found.tsx give each segment its own loading, error, and 404 UI. Learn these conventions before anything else; most of the framework hangs off them.

Server and Client Components

Layouts and pages are Server Components by default. They can be async, read a database or call an API directly, use secrets safely, and send no component JavaScript to the browser. When a component needs state, event handlers, effects, or browser APIs such as localStorage, you mark its file with "use client". That directive marks a boundary: the file and everything it imports join the client bundle. Keep the boundary low in the tree, around the interactive leaf, rather than at the top of a layout.

A misconception worth fixing: Client Components do not render only in the browser. On the first load they are also prerendered to HTML on the server, then hydrated to become interactive. The real difference is that their code ships to the browser and can use state and browser APIs. Props passed from a Server Component to a Client Component must be serializable, so you pass data, not functions or class instances (Server Actions are the exception).

tsx
// app/products/[id]/page.tsx: a Server Component (the default).
// It reads data on the server; this code never ships to the browser.
import { getProduct } from "@/lib/data";
import { AddToCart } from "./add-to-cart";

export default async function ProductPage({
  params,
}: {
  params: Promise<{ id: string }>;
}) {
  const { id } = await params;
  const product = await getProduct(id);

  return (
    <main>
      <h1>{product.name}</h1>
      <p>{product.description}</p>
      {/* Only this small island needs JavaScript in the browser. */}
      <AddToCart productId={product.id} />
    </main>
  );
}

// app/products/[id]/add-to-cart.tsx: a Client Component.
"use client";

import { useState } from "react";
import { addToCart } from "./actions"; // a Server Action

export function AddToCart({ productId }: { productId: string }) {
  const [added, setAdded] = useState(false);

  return (
    <button
      type="button"
      onClick={async () => {
        await addToCart(productId);
        setAdded(true);
      }}
    >
      {added ? "Added to cart" : "Add to cart"}
    </button>
  );
}
Two files shown together: the server page passes plain data down to a small interactive island.

Rendering and caching

The classic trade-off still applies. Prerendered (static) output is built ahead of time and is the fastest to serve, ideal for content that is the same for everyone. Request-time rendering produces output per request, for personalized or rapidly changing data. Client-side rendering suits highly interactive views behind a login. What changed is where the line is drawn: Next.js now treats static and dynamic as a spectrum within a single page. A route can ship a prerendered shell immediately while dynamic parts, wrapped in <Suspense>, stream in as they resolve. Reading request-time data such as cookies(), headers(), or searchParams is what makes a part dynamic.

Caching is the part where outdated tutorials do the most damage. Next.js 13 and 14 cached fetch requests by default; that is no longer true. In Next.js 16 there are two models. With Cache Components (cacheComponents: true, which the recommended create-next-app defaults now enable), caching is explicit: you mark a function or component with the "use cache" directive and give it a lifetime with cacheLife, and uncached async work runs at request time behind a <Suspense> boundary. Without Cache Components, fetch is not cached unless you opt in, for example with cache: "force-cache". In both models, revalidatePath and revalidateTag refresh cached data after a change.

Two security habits belong here too. Environment variables are server-only unless prefixed with NEXT_PUBLIC_, and anything with that prefix is visible to every visitor. And every Server Action is a public endpoint: check authentication and authorization inside the action itself, not only in a layout or page.

Data fetching without the usual bugs

The principles are the same in any stack. Fetch on the server when you can, close to the data and away from your secrets. Avoid waterfalls: when two requests do not depend on each other, start them together. Design every view for loading, empty, error, and success. And after a mutation, decide what is now stale and refresh exactly that.

typescript
// Sequential: the second request waits for the first for no reason.
async function loadSequential(id: string) {
  const user = await getUser(id);
  const orders = await getOrders(id);
  return { user, orders };
}

// Parallel: both start at once; the total is the slower of the two.
async function loadParallel(id: string) {
  const [user, orders] = await Promise.all([getUser(id), getOrders(id)]);
  return { user, orders };
}
The same two requests; only the second version runs them concurrently.

On the client, fetching inside useEffect works for learning but leaves you to handle race conditions, caching, deduplication, and retries yourself; React's own docs point out these downsides. For data that is fetched and refetched in the browser, a server-state library such as TanStack Query or SWR handles them for you. In Next.js, prefer reading data in Server Components and changing it through Server Actions, and reach for client-side fetching when the data is user-driven and changes after the page loads.

Forms and validation

Forms are where most real user data enters your system, and they deserve more care than they usually get. Start with what the browser already does: native constraint validation through attributes such as required, type="email", minlength, and pattern, plus autocomplete so browsers and password managers can fill fields correctly. Style errors with :user-invalid, which waits until the person has interacted with a field, instead of :invalid, which flags an empty required field the moment the page loads.

html
<form method="post" action="/signup">
  <label for="name">Name</label>
  <input id="name" name="name" required minlength="2"
         autocomplete="name" aria-describedby="name-hint">
  <p id="name-hint">At least 2 characters.</p>

  <label for="email">Email</label>
  <input id="email" name="email" type="email" required autocomplete="email">

  <button type="submit">Create account</button>
</form>

<style>
  /* Flags a field only after the person has interacted with it. */
  input:user-invalid {
    outline: 2px solid #b91c1c;
  }
</style>
Labels, hints linked with aria-describedby, and validation the browser enforces before submitting.

Client-side validation is a convenience for honest users, never a security control. Anyone can edit the HTML, disable JavaScript, or send a request without your form at all, which is why MDN says to always validate on the server as well, with the same rules. Return clear, field-level messages, keep what the person typed, and move focus or announce the error so screen reader users know something went wrong.

typescript
"use server";

export type SignUpState = { errors?: { name?: string; email?: string } };

export async function signUp(
  _previous: SignUpState,
  formData: FormData,
): Promise<SignUpState> {
  const name = String(formData.get("name") ?? "").trim();
  const email = String(formData.get("email") ?? "").trim();
  const errors: NonNullable<SignUpState["errors"]> = {};

  // The browser checked these too, but anyone can skip the browser.
  if (name.length < 2) errors.name = "Name must be at least 2 characters.";
  if (!/^[^\s@]+@[^\s@]+$/.test(email)) errors.email = "Enter a valid email address.";
  if (Object.keys(errors).length > 0) return { errors };

  // Check who is calling and whether they may do this, then save.
  return {};
}
A Next.js Server Action that re-validates on the server; pair it with useActionState to show the errors.

Accessibility is part of the job

Accessibility means people can use what you build whether they use a mouse, a keyboard, a screen reader, voice control, or zoom at 200%. The reference standard is WCAG; the current version is WCAG 2.2, published in October 2023, and level AA is the usual target. WCAG 3 is still an early draft, so it is not what you build against today. If you get the HTML right, most of the work is already done.

  • Keyboard first: every action reachable with Tab, operable with Enter or Space, in a logical order, with a visible focus indicator. Never remove the focus outline without a clear replacement.
  • Names for everything: labels on inputs, meaningful alt text on informative images (empty alt on decorative ones), and an accessible name on icon-only buttons.
  • ARIA sparingly: native elements first. As the ARIA Authoring Practices Guide puts it, a role is a promise: role="button" changes what a screen reader announces but adds no keyboard behavior. Incorrect ARIA is worse than none.
  • Contrast and color: sufficient text contrast, and never color alone to carry meaning, such as red for an error with no text.
  • Dynamic changes: move focus into dialogs and back out, announce status updates with a live region such as role="status", and set lang and dir on the html element, which matters for bilingual Arabic and English sites.

Test it the way people use it: unplug the mouse and use the page with the keyboard, then try a screen reader (NVDA on Windows, VoiceOver on macOS and iOS). Automated checkers and linters such as eslint-plugin-jsx-a11y are useful, but they catch only part of the problems; they cannot tell you whether a flow makes sense.

Testing that lets you change code without fear

The goal of testing is not coverage numbers; it is being able to change code and know quickly whether you broke something that matters. Build it in layers. TypeScript and a linter catch a large class of errors before any test runs. Unit tests (Vitest or Jest) cover pure logic such as formatting, validation, and calculations. Component tests with Testing Library render a component and interact with it the way a user would, querying by role and accessible name, which also checks some accessibility for free. End-to-end tests with a tool such as Playwright drive a real browser through the few flows that must never break: sign-up, checkout, the main form.

tsx
import { render, screen } from "@testing-library/react";
import userEvent from "@testing-library/user-event";
import { ShippingDetails } from "./shipping-details";

test("the details panel opens from the keyboard", async () => {
  const user = userEvent.setup();
  render(<ShippingDetails />);

  // Find elements the way people (and screen readers) do: by role and name.
  const toggle = screen.getByRole("button", { name: "Shipping details" });
  expect(toggle).toHaveAttribute("aria-expanded", "false");

  toggle.focus();
  await user.keyboard("{Enter}");

  expect(toggle).toHaveAttribute("aria-expanded", "true");
  expect(screen.getByText("Delivery takes 2 to 4 working days.")).toBeVisible();
});
A component test that checks behavior, keyboard support, and ARIA state, not implementation details.

A practical rule: test what the user sees and does, not internal state or which hook was called. Tests written that way survive refactoring, which is the whole point. Note that async Server Components are newer than most unit-testing tools; Next.js's docs currently recommend end-to-end tests for them.

Performance and Core Web Vitals

Performance is how the page feels on a mid-range phone on a slow network, not on your development laptop. Google's Core Web Vitals give it three measurable targets, assessed at the 75th percentile of real page loads, on mobile and desktop separately. Interaction to Next Paint (INP) replaced First Input Delay (FID) as the responsiveness metric on 12 March 2024, so material that still talks about FID is out of date.

MetricWhat it measuresGoodUsual culprits
LCP (Largest Contentful Paint)Loading: when the largest image or text block in the viewport renders2.5 sSlow server response, a large or lazy-loaded hero image, render-blocking CSS and fonts
INP (Interaction to Next Paint)Responsiveness: the delay from a click, tap, or key press to the next frame, across the visit200 msLong JavaScript tasks, heavy hydration, expensive re-renders on input
CLS (Cumulative Layout Shift)Visual stability: unexpected movement of content0.1Images and embeds without dimensions, banners injected late, web-font swaps
Thresholds as published on web.dev; "good" means at or under the value.

Measure before optimizing, and know which kind of data you are looking at. Lighthouse and the DevTools Performance panel give lab data: repeatable, good for debugging, but a simulation. Field data from real users, through the Chrome UX Report, Search Console, or your own monitoring with a library such as web-vitals, is what the thresholds are judged on. The biggest levers are usually the boring ones: ship less JavaScript, size and compress images, give media explicit dimensions, avoid lazy-loading the main image, and break up long tasks.

SEO a frontend developer controls

Most search visibility comes from content, but a frontend developer can easily make good content hard to find. The technical basics are few and stable, and Google's SEO Starter Guide covers them well.

  • Content in the HTML: prerender or server-render pages that need to be found. Google can render JavaScript, but rendering is an extra step, and not every crawler or tool runs scripts.
  • Real links: navigation with <a href>, not click handlers on divs. Crawlers follow links, not JavaScript events.
  • One clear title and description per page, a logical heading structure, descriptive alt text, and one canonical URL per piece of content.
  • Discoverability files: a sitemap, a sensible robots.txt, and hreflang links between language versions on a bilingual site. In Next.js, the Metadata API and the sitemap and robots file conventions generate these.

One misconception to drop: you do not need a framework for SEO. A static HTML page is as indexable as anything. Frameworks help when you have many pages, dynamic data, and metadata to keep consistent.

Production readiness: what separates professionals

Everything above puts an interface on screen. What follows makes it trustworthy, and it is where the difference between a tutorial project and production work is most visible.

  • State coverage: loading, empty, error, partial, slow, and offline. Users meet these constantly; beginners forget them.
  • Error handling: error boundaries (error.tsx in Next.js) so one failing widget does not blank the page, and messages that tell people what to do next.
  • Security basics: no untrusted HTML rendered unescaped, secrets kept on the server, session tokens in HttpOnly cookies rather than localStorage, authorization checked on the server, and a Content Security Policy where you can.
  • Observability: error monitoring and real-user performance data, so you hear about problems before your users report them.
  • Responsive in reality: real devices, real content lengths, long Arabic and German words, 200% zoom, and right-to-left layouts, not just a narrow browser window.
  • Automation: type-checking, linting, and tests running on every change in CI, plus a habit of updating dependencies regularly instead of once a year.

Common mistakes and misconceptions

  • Learning React before JavaScript. Every language gap turns into a framework mystery.
  • Staying in the tutorial loop. Following along feels like progress; building without a guide is where learning happens.
  • Clickable `div`s, placeholders used as labels, and removed focus outlines. Each one locks some users out.
  • Treating TypeScript types as validation. They vanish at runtime; validate data at the boundaries.
  • Using effects to derive state or fetch without handling races. Compute during render; use a data layer for remote data.
  • Putting `"use client"` at the top of the tree. It pulls everything below into the client bundle.
  • Trusting client-side validation. The server must check everything again.
  • Chasing a Lighthouse score. It is a lab tool for finding problems; real users' field data is the measure.
  • Following tutorials written for an older version. Create React App, FID, and fetch-cached-by-default are all examples. Check the date and the version.

A staged roadmap with projects

Each stage ends with a project and a test for moving on. There are no time estimates here on purpose: people learn at very different speeds, and the exit test matters more than the calendar. If you are new to programming itself, start with how to start programming and the programming fundamentals first.

StageFocusBuild thisMove on when
1. Web foundationsSemantic HTML, CSS layout, responsive design, accessibility basicsA multi-page site for a real or imagined business, deployed, in plain HTML and CSSIt works at 320px wide and at 200% zoom, and every link and control works with the keyboard alone
2. JavaScript and the browserLanguage core, async, DOM, events, fetch, storage, URLA search app over a public API, with filters kept in the URL and a saved preferenceLoading, empty, and error states all work, and you can explain the order your code runs in
3. TypeScript and toolingStrict types, modules, Git, a linter, unit testsConvert the stage 2 app to TypeScript and add unit tests for its logicStrict mode passes with no any escape hatches, and the tests run with one command
4. One frameworkComponents, state, effects used correctly, forms, server stateRebuild the app in React (or your chosen framework) with a validated form and component testsYou can justify every piece of state and every effect, and the tests query by role
5. Full-stack frameworkRouting, Server and Client Components, caching, Server Actions, metadataA content site or dashboard in Next.js with server-validated forms, metadata, and a sitemapClient boundaries are small and deliberate, and you can say what is cached and for how long
6. ProductionAccessibility audit, Core Web Vitals, end-to-end tests, monitoring, CIHarden the stage 5 project and keep maintaining it for a few monthsField data meets the thresholds, critical flows have end-to-end tests, and you can explain your trade-offs to a reviewer

Whatever you build, give it real data and real states. A dashboard that reads from an API, handles pagination, survives a failed request, and works on a phone will teach you more than five tutorial clones, because it forces you to face the cases tutorials edit out. Then keep maintaining it: the second month of a project teaches things the first month cannot.

Official resources worth your time

Where to go from here

Frameworks will keep changing; the platform underneath changes slowly. Learn HTML, CSS, JavaScript, and the browser well, add TypeScript, then go deep on one framework, and treat accessibility, testing, and performance as part of the work rather than extras. Your next step is concrete: pick the stage you are actually at, build its project, and do not move on until its exit test passes.

If you are still deciding between directions, read how to choose your programming track. If you want to understand the other side of the requests your frontend sends, the backend developer roadmap is the natural companion, and the mobile developer roadmap covers where React skills carry over to apps.

Related on this site

Continue reading

All articles