Roadmap
Frontend Developer
Frontend work is the part of an application people actually touch, so it gets judged on how it looks, how fast it feels and whether it works for everyone. This route starts with HTML and CSS, moves through JavaScript and TypeScript, and reaches React and Next.js last, because a framework is far easier to learn when the language underneath it is not also new. The closing stages cover the network and security facts frontend developers are expected to know, plus the interview topics that come with the role.
6 stages · 31 steps
Who this is for
Anyone aiming at a first frontend or web role, and self-taught developers who can follow a tutorial but stall the moment something breaks outside it. Stage one assumes no programming experience at all.
The page itself
Write a page by hand — structure in HTML, layout and styling in CSS — and know what the browser is doing when it loads one.
- Language guideHTML & CSSStart here: everything later in this roadmap ends up as HTML the browser renders.
- PlaygroundHTML & CSS playgroundEdit markup and styles side by side and watch the result change, before any build tooling exists.
- Concept guideHTTP and HTTPSA page arrives over a request and a response; knowing their shape makes the network tab readable.
JavaScript, properly
Read and write plain JavaScript — values, functions, arrays, objects — without reaching for a framework to do the thinking.
- Language guideJavaScriptThe language every browser runs, and the one every frontend framework is written in.
- LessonJavaScript Variables and Data TypesWhere const, let and the primitive types get settled, so later confusion has fewer places to hide.
- LessonJavaScript FunctionsComponents, event handlers and callbacks are all functions first.
- LessonJavaScript ArraysRendering a list in any framework is a transformation over an array.
- LessonJavaScript ObjectsProps, state and JSON responses are all objects with named fields.
- ExercisesJavaScript exercisesRead-then-run is not enough; the path adds one new idea per exercise and checks your own code.
- PlaygroundJavaScript playgroundKeep this open while you read: guessing what an expression returns and then checking is the fastest way to learn.
TypeScript before a framework
Add types to JavaScript you already understand, and read the type errors a React codebase will hand you.
- LessonTypeScript: Checked, Then RunFirst the mental model: the checker runs before your code does, and then disappears.
- LessonBasic TypesThe annotations you will write most often, and the inference that means you often need not write them.
- LessonInterfaces and Object TypesThis is how component props and API payloads get described.
- LessonUnion and Literal TypesA loading / loaded / failed state is a union, and modelling it as one removes whole bugs.
- LessonType Narrowing and GuardsMost real TypeScript errors are about a value that might be undefined; narrowing is the fix.
- ExercisesTypeScript exercisesType errors stop being intimidating once you have deliberately caused a few of them.
- ReferenceTypeScript cheat sheetKeep it beside your editor once you are writing types daily.
Talking to a server
Fetch and send data, understand where a session lives, and recognise the mistakes that turn a form into a vulnerability.
- Concept guideREST APIsAlmost every frontend you write will consume one of these.
- Concept guideJWT and OAuthComes after REST: sign-in is the first API call most apps make.
- Developer toolJSON Formatter & ValidatorFor the moment a response does not look like the docs said it would.
- Concept guideWebSocketsFor anything live — chat, presence, a moving dashboard — request and response is the wrong shape.
- Concept guideCommon Web VulnerabilitiesCross-site scripting is a frontend problem, and interviewers ask about it.
Framework, tooling and shipping
Understand what React and Next.js add on top of the language, and work the way a team does: branches, reviews, and a deploy you did not do by hand.
- Concept guideReact and Next.jsRead this once the language is comfortable, then go to the frameworks' own tutorials.
- Concept guideGit and GitHubBranching and pull requests are how frontend work actually gets reviewed.
- ReferenceGit commands referenceThe commands you will look up repeatedly, with the dangerous ones flagged.
- Concept guidePerformance and ScalabilityBundle size and render cost are the frontend end of the same measure-first discipline.
Interview preparation
Answer frontend questions out loud, and write small amounts of correct code under observation.
- Interview prepFrontend interview questionsStart with the round most specific to the role you are applying for.
- Interview prepCoding & DSA interview questionsFrontend interviews still include an algorithm round more often than not.
- Practice problemValid PalindromeString-cleaning plus two pointers: a fair sample of the easy end.
- Practice problemTwo Number SumThe problem that teaches you to reach for a hash map instead of a second loop.
- Interview prepBehavioral interview questionsPrepare these from your own work; they decide more outcomes than people expect.
Projects to build along the way
Briefs in the languages this roadmap uses.
- Bill splitter and tip calculatorWork out the tip, add it on, and split the bill into whole cents that add back up exactly.
- Personal profile pageOne hand-written page about you that reads well on a phone and on a wide screen.
- To-do list that remembersA single-page task list with filters that survives a reload, built with no framework.
- Markdown-subset to HTML converterParse a documented subset of Markdown into typed blocks, then render safe HTML from them.
- REST API for a notes appA small HTTP API with a real database behind it, honest status codes, and tests that hit every route.
Interview topics for this role
What you will need to learn elsewhere
This site cannot teach everything this role involves. Plan for these too:
- Building and deploying a site you own — a domain, a host, and the moment it breaks in public. Nothing on this site covers your hosting provider's dashboard.
- The official React and Next.js tutorials. This site explains the ideas; the frameworks' own documentation is the part that stays current.
- Accessibility tested with a keyboard and a screen reader on real pages, not just semantic markup read about in theory.
- Design handoff: reading a design file, asking about states nobody drew, and disagreeing with a designer politely.
- Working in a team codebase — code review, another person's CSS conventions, and a component you did not write.
- Build tooling under pressure: bundlers, lockfiles, a dependency upgrade that breaks the build.
- Automated testing of interfaces, with a framework your team has chosen.