Skip to content

Frontend Developer roadmap

Frontend Developer roadmap for freshers & students

Land your first frontend offer

As a fresher you are hired on fundamentals and potential. Strong JavaScript, one solid React project and steady DSA practice clear most campus and off-campus rounds. Depth beats a long list of frameworks.

YOUR ROADMAP

What to study, step by step.

5 steps. Each topic says what to learn and has a button to practise it.

  • Must doInterviews ask this. Do not skip.
  • ImportantDo it if you can.
  • OptionalOnly if you have extra time.
Not started yetYou finished 0 of 18 topics (0 of 9 must-do)

Saved on this device. No login needed.

Jump to a step:

  1. Step 1 · Weeks 1–3 (3 weeks)

    Web foundations

    Build pages by hand so frameworks never feel like magic.
    Must do

    HTML semantics & CSS layout

    Semantic markup and modern layout are the base every UI round assumes you already have.

    What to learn
    • Semantic elements and document outline
    • Box model, specificity and the cascade
    • Flexbox and Grid for real layouts
    • Responsive design with media and container queries
    • Positioning, stacking context and z-index bugs
    Must do

    JavaScript fundamentals

    Scope, closures, this and prototypes come up in almost every frontend interview, usually as output questions.

    What to learn
    • var / let / const, hoisting and the temporal dead zone
    • Closures and lexical scope
    • this binding rules, call / apply / bind
    • Prototypes and class syntax
    • Equality, coercion and common output puzzles
    • Array and object methods you use daily

    Start here and keep coming back; it is asked in nearly every round.

    Important

    Git, tooling & build basics

    Everyday engineering hygiene that interviewers notice in your projects.

    What to learn
    • Git branching, rebasing and resolving conflicts
    • npm scripts, package versions and lockfiles
    • What a bundler does (Vite, webpack)
    • Linting and formatting with ESLint and Prettier
    • Deploying to Vercel or Netlify

    Git and deploying are enough; skip bundler configuration.

    Important

    AI for frontend work

    AI assistants are now part of everyday frontend work, so you need to know how they work, where they go wrong and how to check what they produce.

    What to learn
    • How LLMs work at a high level: tokens, context window and why they hallucinate
    • Prompting well: give context, constraints and examples, then iterate
    • Using AI coding assistants for components and tests, then reviewing the diff line by line
    • Calling an LLM through your backend and streaming responses into the UI, never exposing API keys in the browser
    • Prompt injection and unsafe rendering: treat model output as untrusted content
    • Responsible use: no confidential code or user data in public tools, and follow your company policy

    Use AI to learn faster and explain code you do not understand, but write and debug it yourself; interviews still test you without AI.

    You are done with this step when:A responsive multi-page site built without a framework, deployed with a live link.

  2. Step 2 · Weeks 4–6 (3 weeks)

    JavaScript in depth

    Answer output questions confidently and explain why.
    Must do

    Async JavaScript & the event loop

    Explain what runs when: call stack, microtasks, macrotasks and rendering.

    What to learn
    • Callbacks, promises and async / await
    • Microtask vs macrotask queue ordering
    • Promise.all / allSettled / race / any
    • Error handling in async code
    • fetch, AbortController and cancellation
    Must do

    DOM, events & browser APIs

    Know how the browser handles events, storage and rendering without a framework in the way.

    What to learn
    • Event bubbling, capturing and delegation
    • localStorage, sessionStorage, cookies and IndexedDB
    • Critical rendering path: parse, style, layout, paint, composite
    • IntersectionObserver and ResizeObserver
    • History API and client-side routing basics
    Important

    JavaScript implementations & polyfills

    Writing core utilities from scratch proves you understand the language, and Indian product companies ask for them often.

    What to learn
    • debounce and throttle (with leading / trailing options)
    • Array.prototype.map / filter / reduce polyfills
    • Function.prototype.bind and currying
    • Promise.all and a basic Promise implementation
    • Deep clone, flatten and an event emitter

    Start with debounce, throttle and Array.prototype.map.

    You are done with this step when:You can predict the output of closure, this and event-loop snippets and write debounce from memory.

  3. Step 3 · Weeks 7–10 (4 weeks)

    React and one real project

    Ship one project you can talk about for 20 minutes.
    Must do

    React fundamentals

    Components, props, state and effects, plus the mental model of rendering as a function of state.

    What to learn
    • JSX, components and props
    • useState, useEffect and the dependency array
    • Lists, keys and conditional rendering
    • Controlled forms and lifting state up
    • Custom hooks for reusable logic
    Must do

    Portfolio projects

    One or two deployed, well-built projects beat ten tutorial clones.

    What to learn
    • Pick a real problem (a tool you or a friend would use)
    • Include auth, API calls, loading / error states and responsive UI
    • Deploy with a live link and a clear README
    • Measure it: Lighthouse score, bundle size
    • Put it on your resume with outcomes, not just a stack list
    Important

    HTTP, APIs & auth for frontend

    Understand what happens between the browser and the server, because most production bugs live there.

    What to learn
    • HTTP methods, status codes and headers
    • REST vs GraphQL from the client side
    • CORS and preflight requests
    • Cookies vs tokens, sessions and refresh flows
    • Browser and CDN caching (Cache-Control, ETag)

    Know HTTP status codes, CORS and how login works.

    Important

    TypeScript for frontend

    Most product teams ship TypeScript; typing props, hooks and API responses is expected.

    What to learn
    • Types vs interfaces, unions and narrowing
    • Generics in functions and components
    • Utility types: Partial, Pick, Omit, Record
    • Typing props, events, refs and hooks
    • Typing API responses safely

    Basic props and API typing is enough at this stage.

    Optional

    State management & data fetching

    Separate server cache from client state, and choose the lightest tool that works.

    What to learn
    • Context and its re-render cost
    • Redux Toolkit or Zustand for shared client state
    • React Query / SWR for server state, caching and refetching
    • Optimistic updates and error states
    • Normalising nested API data

    Context plus one fetching library is plenty.

    You are done with this step when:A deployed React app with API calls, auth, loading and error states, and a README.

  4. Step 4 · Weeks 11–14 (4 weeks)

    DSA & CS fundamentals

    Clear the online assessment and the CS questions in campus rounds.
    Must do

    Data structures & algorithms

    Online assessments and at least one round still test problem solving, mostly at easy-to-medium level.

    What to learn
    • Arrays, strings and hash maps
    • Two pointers and sliding window
    • Stacks, queues and recursion
    • Trees and BFS / DFS (the DOM is a tree)
    • Big-O for time and space

    Aim for about 120 easy and medium problems across the core patterns.

    Must do

    CS fundamentals for campus rounds

    Campus drives and service companies test OS, DBMS, networks and OOP alongside coding.

    What to learn
    • OOP: encapsulation, inheritance, polymorphism
    • DBMS: normalisation, joins, indexes, transactions
    • OS: processes, threads, deadlocks, memory
    • Networks: TCP vs UDP, DNS, what happens when you type a URL

    Campus drives and service companies ask OS, DBMS and OOP.

    You are done with this step when:You can solve most easy and medium array, string and hash-map problems in 30 minutes.

  5. Step 5 · Weeks 15–16 (2 weeks)

    Interview readiness

    Turn knowledge into interview performance.
    Important

    Machine coding rounds

    Build a working UI component in 60–90 minutes with clean structure, state and edge cases.

    What to learn
    • Clarify requirements and sketch the component tree first
    • Common asks: autocomplete, carousel, tabs, modal, star rating, nested comments, kanban
    • State shape, derived state and side effects
    • Edge cases: empty, loading, error and keyboard use
    • Leave time to explain trade-offs and what you would add

    Practise tabs, accordion, todo with filters and a star rating.

    Must do

    Behavioral & project stories

    Explain what you built, the decisions you made and what you learned, in a structured way.

    What to learn
    • STAR structure for answers
    • A 2-minute walkthrough of your best project
    • Stories for conflict, failure, deadlines and feedback
    • Why this company and this role
    Optional

    Accessibility (a11y)

    Accessible UIs are better UIs, and senior roles are expected to make them the default.

    What to learn
    • Semantic HTML before ARIA
    • Keyboard navigation and focus management
    • Accessible names, labels and live regions
    • Colour contrast and WCAG 2.2 AA
    • Testing with a screen reader and axe
    Optional

    Frontend testing

    Test behaviour, not implementation, and know which layer catches which bug.

    What to learn
    • Unit tests with Jest or Vitest
    • Component tests with React Testing Library
    • End-to-end tests with Playwright or Cypress
    • Mocking network calls
    • Testing pyramid and CI quality gates

    You are done with this step when:Two timed mock rounds done, and a project walkthrough you can deliver in two minutes.

  6. You are interview-ready

    Now tailor your resume to each job and start applying.

SAVE YOUR TIME

Don't waste time on these (yet).

Popular topics that will not help your interviews at this stage.

  • Micro-frontends and Module Federation

    No fresher interview expects it. It solves organisation-scale problems you have not met yet.

  • Comparing five state libraries

    Learn one approach well. Knowing Redux, MobX, Recoil, Jotai and Zustand shallowly is not a hiring signal.

  • Webpack configuration internals

    Vite and Next.js handle it. Know what a bundler does, not every loader option.

  • Hard DP and advanced graph problems

    Frontend rounds rarely go beyond medium. Spend that time on JavaScript output questions and machine coding.

  • Every new framework (Svelte, Solid, Qwik)

    Depth in one framework beats breadth. The core ideas transfer when you need them.

THE INTERVIEW

What happens in the interview.

A typical set of rounds at this stage. Small startups may do fewer.

  1. 1

    Online assessment

    Aptitude plus 2–3 DSA problems; some companies add JavaScript and CS MCQs.

  2. 2

    Technical round 1

    JavaScript fundamentals, output questions and a small DOM or React task.

  3. 3

    Technical round 2

    DSA on a shared editor, or a 60-minute machine-coding task in React.

  4. 4

    HR / managerial

    Project deep-dive, why frontend, location and joining questions.

WHAT INTERVIEWS ASK MOST

Where to spend your time

Share of interview time, roughly, for frontend developer roles at this stage.

  • DSA & problem solving35%
  • JavaScript & React depth30%
  • Machine coding20%
  • Behavioral & leadership10%
  • Frontend system design5%

FOR YOUR RESUME

What to show on your resume.

  • A deployed project with a live link, GitHub repo and README
  • Lighthouse scores or bundle size you measured and improved
  • Internship or open-source contributions with merged PRs
  • Resume bullets that state what you built and the result, not only the stack

NOT YOUR LEVEL?

Pick a different level.

A LITTLE MORE CLARITY

Frontend Developer roadmap: common questions

Do frontend freshers need DSA?

Yes, at a basic-to-medium level. Most campus drives and product companies start with an online assessment, so plan for about 120 easy and medium problems while you build JavaScript depth.

React or Angular for freshers in India?

React has the most openings at product companies and startups; Angular is common at large service companies and enterprises. Pick one, go deep, and the concepts transfer.

How long does it take to become job-ready?

With about 12 focused hours a week, this plan takes roughly 16 weeks. If you already know JavaScript well, start at the React phase.

OTHER JOBS

All roadmaps

BUILD YOUR NEXT OPPORTUNITY

Start step 1 today.

Practise coding, system design and interview questions for free. Sign in to save progress on any device.

Get Started Free