How to prepare for frontend interviews in 2027: a 12-week plan

A 12-week plan to prepare for frontend interviews in 2027: weekly topics, practice, mock rounds, company research and revision, with 4-week and 1-week options.

Beginner 13 min readBy , updated 23 November 2026

Twelve weeks is enough time to prepare properly for a frontend interview loop without cramming: about an hour or two on weekdays and a longer block at the weekend. This guide is a week-by-week plan for that time. Each week has a focus, the topics to cover, practice to do, and a check that tells you whether the week worked. Three weeks end with a mock round, company research starts in week 6, and the last week is for revision, not new material. Further down are shorter options if your interview is four weeks or one week away, and how to adjust the plan if you are a fresher, an SDE-2 or a senior engineer.

The plan is written for interviews running now and in 2027. The core of what is tested has not changed in years, but the React round, performance vocabulary and some coding formats have, and the plan includes those changes where they belong.

How this plan fits with the roadmap and study plans

The site has three other ways to prepare, and this plan is meant to be used with them rather than instead of them.

  • The frontend interview roadmap is a four-week sequence of practice questions, with a free first week of one question a day. It tells you what to solve. This guide is about how to spend twelve weeks: the weekly rhythm, when to mock, when to research companies and how to revise.
  • The three-month study plan lists questions for every day of thirteen weeks. If you want each day decided for you, follow it and use this guide for the checkpoints and the level adjustments.
  • Frontend interview prep while working full time is a twelve-week plan aimed at experienced developers, with notice periods, offer timing and DSA. This guide is the general version, starting from fundamentals.

Before week 1: a baseline and a target

Spend one evening finding out where you stand, because it decides how much time each week deserves.

  1. Do three timed tasks. Write debounce with cancel and flush in 25 minutes, build a todo app with filters and persistence in 60 minutes, and explain the event loop order of a short snippet out loud. Note which ones you could not finish.
  2. Pick your target level. Companies level on what you show in the room, not years of experience. Read what each level is expected to show and prepare for the higher of two levels if you are in between.
  3. Write a first list of companies. Five to ten is enough. You will research them properly in week 6.
  4. Start an error log. A plain document or spreadsheet with four columns: the question, what went wrong, the fix, and the date to redo it. It becomes your revision material.

The weekly rhythm

Every week follows the same pattern, so you spend your energy on the work rather than on deciding what to do.

Day Time What to do
Monday to Thursday 60 to 90 minutes Learn the week's topic, then solve two or three related questions from a blank file
Friday 45 minutes Redo the questions in your error log that are due
Saturday 2 to 3 hours One timed task: a machine coding build, a design or a mock round
Sunday 1 hour Review Saturday, update the error log, plan next week

Keep one day completely off if you can. A plan that lasts twelve weeks beats an intense one that collapses in week four. If a week is lost to work or illness, push the plan back a week rather than doubling up.

The 12 weeks at a glance

Week Focus Ends with
1 How JavaScript runs Explaining any event loop or closure snippet out loud
2 Polyfills and utilities Five utilities written from memory
3 Async JavaScript Promise combinators and a concurrency limit from a blank file
4 HTML, CSS, the DOM and accessibility Mock 1: a JavaScript screen
5 React rendering and hooks Predicting re-renders and writing custom hooks
6 Modern React and company research Forms with Actions, Server Components, a researched company list
7 Machine coding: inputs and widgets Two timed builds with keyboard support
8 Machine coding: data-heavy UI Mock 2: a 90-minute machine coding round
9 Browser, network, performance and security Diagnosing LCP, INP, CORS and XSS problems
10 Frontend system design Two full designs out loud
11 System design, behavioural stories Mock 3: a full loop
12 Revision and company-specific practice Rested and ready

Weeks 1 to 4: JavaScript and the browser basics

Week 1: how JavaScript runs

Cover scope and closures, var, let and const, hoisting and the temporal dead zone, this, prototypes and the event loop. Read what is a closure, what is hoisting and how this works, then step through snippets in the event loop visualizer. Practise by predicting output: closure results, what this refers to and hoisting and the TDZ. The check: you can explain each answer step by step, not just get it right.

Week 2: polyfills and utilities

Write the built-ins and utilities interviewers ask for most: map, bind, flatten, deep equal, deep clone, memoize, debounce and throttle. Practise bind with partial arguments, flattening a nested array, throttle with leading and trailing options and memoize with custom cache keys. The polyfill questions hub has the rest. The check: five of them written from memory with their edge cases, and the complexity said out loud.

Week 3: async JavaScript

Promises, async and await, the combinators, retries, cancellation with AbortController, and concurrency limits. Read Promise.all vs allSettled vs race vs any and the promise concurrency guide. Practise Promise.all from scratch, mapLimit with N concurrent tasks and a fetch wrapper with a timeout. The check: each from a blank file in about 20 minutes.

Week 4: HTML, CSS, the DOM and accessibility

Semantic HTML, the box model, specificity and cascade layers, flexbox and grid, event delegation, and keyboard and screen reader basics. Read how CSS specificity works, flexbox vs grid and how to make a website accessible. Practise event delegation for a dynamic list and fixing a div-soup form.

Mock 1, Saturday of week 4. A 45-minute JavaScript screen: two or three concept questions and one utility, timed, out loud. Use the mock interview or a friend. Write down every hesitation in the error log.

Weeks 5 to 8: React and machine coding

Week 5: React rendering and hooks

How React renders and batches, when state is kept or reset, keys, effects and cleanup, stale closures and custom hooks. Read why a component re-renders, how useEffect works and the React rendering guide. Practise predicting re-renders, useInterval without stale closures and useDebounce.

Week 6: modern React, then company research

Cover the APIs that recent React and Next.js releases made standard. React 19 (stable since December 2024) added Actions, useActionState, useOptimistic and ref as a prop. React 19.2 (October 2025) added <Activity> and useEffectEvent. React Compiler 1.0 (October 2025) memoizes automatically, so expect "do we still need useMemo?". Next.js 16 (October 2025) renamed middleware to proxy.ts and made Turbopack the default. Read the React 19 Actions guide, server vs client components and what is hydration. Practise a sign-up form with useActionState. If your targets use Angular or Vue instead, spend this week on the Angular or Vue questions.

Use the Saturday block for company research, described in its own section below.

Week 7: machine coding, inputs and widgets

Read the machine coding round guide for the time plan, then build: an autocomplete with caching and keyboard support, compound tabs with roving tabindex and an OTP input. Time every build. Afterwards, note where the time went: usually over-planning the structure or fighting CSS, not the hard part.

Week 8: machine coding, data-heavy UI

Trees, tables and lists: a nested file explorer, a sortable and filterable data table and infinite scrolling with IntersectionObserver. Practise saying your state model before you write code.

Mock 2, Saturday of week 8. A 90-minute machine coding round on a prompt you have not seen, from the machine coding questions. Ask someone to add a requirement at the 60-minute mark, because real interviewers do.

Weeks 9 to 12: the browser, system design and the finish

Week 9: browser, network, performance and security

Caching headers, CORS, XSS and CSP, cookies and tokens, Core Web Vitals and how to fix them. Interaction to Next Paint replaced First Input Delay as a Core Web Vital in March 2024, so learn INP and long tasks. Read what happens when you type a URL, Core Web Vitals, what is CORS and XSS and how to prevent it. Practise fixing a poor LCP and splitting a long task to keep INP low.

Week 10: frontend system design

Learn one framework and use it every time. Read the frontend system design interview guide and the RADIO framework, then do two full designs out loud against a 45-minute timer: a news feed with infinite scroll and an autocomplete system. The next day, compare with the news feed case study and log what you missed. Freshers targeting SDE-1 roles can spend half this week on more machine coding instead.

Week 11: more design, behavioural stories and a full mock

One more design, WhatsApp Web, with the chat app guide as review. On weekdays, write eight to ten stories for the behavioural round using the behavioural interview guide: a project you owned, a disagreement, a failure, a production incident. Prepare tell me about yourself as a 90-second pitch.

Mock 3, Saturday of week 11. A full loop on one day: a JavaScript round, a machine coding round, and a design or React round, with short breaks. It shows how your focus holds across rounds.

Week 12: revision and company-specific practice

No new topics. Redo everything in the error log that is still red, run one short round of the type your first interview starts with, and practise each target company's known rounds from its guide. Sleep properly before interview days.

Running the mock rounds

A mock only helps if it is close to the real thing. Use a timer, a plain editor or the environment the company uses, and talk the whole time. Score yourself on the same things an interviewer does: did it work, did you handle the edge cases, did you explain decisions before making them, and did you finish in time. Then put every weak point into the error log with a redo date. The mock interview page gives a timed question with follow-ups and a score; a friend at another company gives you a real human interrupting you, which is just as useful. Do not skip the mocks because you feel unready. Feeling unready is what they are for.

Researching companies

Start in week 6, when you know enough to judge which rounds will be hard for you. For each company on your list:

  1. Read its guide on /companies. It shows the rounds, what each one covers and practice questions for them. The Google, Meta, Amazon, Microsoft and Flipkart guides are free.
  2. Read recent interview experiences for the same role and level.
  3. Confirm the loop with the recruiter. Ask which rounds there are, how long each is, whether there is a DSA round, and which language or framework you can use. Loops change between teams.
  4. Ask whether any round allows AI tools. As of late 2026 a few companies run AI-assisted coding rounds: Canva announced in June 2025 that it expects frontend candidates to use AI tools in technical interviews, and Meta's hiring page says select roles include an AI assistant inside CoderPad. If yours does, practise reading and fixing generated code, not only writing your own. See the Canva guide for how its round works.
  5. Reorder your remaining weeks. If two of your targets have a DSA round, add the DSA for frontend interviews patterns to your weekday slots. If none has system design, give week 10 to machine coding.

Interview at a company you would join but that is not your first choice around week 10 or 11. It is real practice, and you learn where you stand before the interviews that matter most.

Revision that sticks

Rereading answers feels like revision and is not. Redo the question instead: close the solution, start from a blank file, and time yourself. Use the error log to space it out: redo a missed question three days later, then again two weeks later. If you get it right twice, retire it. Friday's slot is for this every week, and week 12 is almost entirely this. Fifty questions done twice beat two hundred read once.

If you have four weeks or one week

Four weeks. Follow the one-month study plan, or the frontend interview roadmap, which covers JavaScript, async, React with machine coding, then the browser and system design in four weeks. From this guide, keep the rhythm, the error log and two mocks: one at the end of week 2 and one in week 4. Research companies in week 1 so you know what to cut.

One week. Follow the one-week study plan: a day each for functions and promises, closures and the event loop, async utilities, React, machine coding, the browser, and system design. Do one mock on day 5 or 6 and spend the last evening on the target company's guide. If you have an interview date, the interview planner builds a day-by-day plan for that company.

Adjusting for your level

The twelve weeks stay the same; the weight moves.

Fresher or SDE-1 SDE-2 Senior
Weeks 1 to 4 Full time here; this is where fresher loops are decided Faster, but do not skip: rust shows here first One week for weeks 1 to 3; keep the timed polyfills
React and machine coding The core of the loop: give weeks 5 to 8 everything Core; add performance and accessibility follow-ups Keep two timed builds a week; add a hard concurrency question
System design One week; light design questions at most Two weeks; one feature designed well Start in week 5 and do one design every weekend
Behavioural Projects and internships; why frontend Ownership and one hard technical decision Scope, influence, mentoring and leading a project
Where to practise Fresher questions SDE-2 questions Senior questions

Freshers should expect more fundamentals and an easy to medium DSA problem, and less system design. Projects matter more: frontend projects for your resume and the campus placement plan help there.

SDE-2 candidates are judged on depth: the follow-ups about cancellation, edge cases and production behaviour. Prepare the design round seriously, because it is often where SDE-2 and senior are separated.

Senior candidates are judged on how much they drive. In design rounds, ask the questions that change the design, give trade-offs without being prompted, and go deep on two or three areas. Behavioural rounds carry more weight. If you are aiming at staff, read the staff frontend interview guide as well.

Mistakes that cost the most time

  • Starting with system design because it feels senior. Weak JavaScript ends loops before the design round happens.
  • Watching solutions instead of writing them. Write the code, on a timer, every time.
  • Practising silently. Every round is partly scored on what you say.
  • Skipping the mocks. The first time you code with someone watching should not be the real interview.
  • Guessing the loop. Ask the recruiter, or you may spend weeks on a round you will not face.

Where to practise next

Practise it

Each question opens in an editor with tests, so you can check your understanding by writing the code.

  1. Predict the event-loop order of setTimeout, promises, queueMicrotask and awaitEasy15 minFree
  2. Implement Function.prototype.bind(), including partial argumentsEasy15 minFree
  3. Implement debounce() with cancel() and flush()Medium35 minFree
  4. Implement Promise.all() from scratchMedium35 minFree
  5. Implement mapLimit() / throttlePromises() with maximum N concurrent tasksMedium35 minFree
  6. Implement event delegation for a dynamic listEasy15 minFree
  7. Predict which React components re-render: memo, children props and contextMedium25 min
  8. Implement useInterval() without stale closuresMedium35 minFree
  9. Build a typeahead/autocomplete with caching and keyboard supportMedium45 minFree
  10. Build a sortable and filterable data tableMedium35 min
  11. Diagnose and fix a poor LCP on a product pageHard45 min
  12. Design a news feed with infinite scrollHard60 minFree
  13. Design WhatsApp Web: real-time messaging, ordering, offline state and reconciliationHard60 minFree