Frontend Development Technical Round Questions & Answers
40 questions for the technical round stage — 3 easy, 26 medium, 11 hard.
About the technical round round
The technical round is the core of a Frontend Development interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
Tips for the technical round round
- Say your approach out loud before you start writing.
- After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question.
- Pick one project you can explain end to end, including what you would do differently.
- If you get stuck, explain what you would try next instead of going silent.
Most of your users are on low-end Android phones with slow networks. How does that change your approach?
Show answer
After a release, the app shows a blank page in some older browsers. What could be wrong?
Show answer
What are long tasks and why do they hurt user experience?
Show answer
Create a type where all fields are optional except id.
Show answer
Several teams contribute CSS to one large app and styles keep breaking each other. What do you propose?
Show answer
What are design tokens?
Show answer
Register a service worker that caches static assets with a cache-first strategy.
Show answer
Run linting and formatting automatically before each commit.
Show answer
How do HTTP/2 and HTTP/3 change frontend bundling strategy?
Show answer
What is the guiding principle of Testing Library and why query by role?
Show answer
Write a visually-hidden utility class for screen-reader-only text.
Show answer
Mock fetch in a Vitest test to check error handling.
Show answer
Which tsconfig options are important for a strict codebase?
Show answer
Write a fetch wrapper that retries with exponential backoff.
Show answer
How would you choose a frontend framework for a new project?
Show answer
Explain the utility types Partial, Pick, Omit and Record.
Show answer
Write a minimal observable store in plain JavaScript.
Show answer
What are CSS logical properties?
Show answer
How do private class fields and getters work in modern JavaScript?
Show answer
Write a type-safe getProperty function using generics and keyof.
Show answer
Add automated accessibility checks to Playwright tests.
Show answer
When should you use IndexedDB instead of localStorage?
Show answer
How do monorepo tools like Turborepo or Nx help frontend teams?
Show answer
What is Interaction to Next Paint and what usually makes it poor?
Show answer
Write a card that changes layout based on its container width.
Show answer
Explain preload, prefetch and preconnect.
Show answer
What is the difference between a Web Worker and a Service Worker?
Show answer
Write a polyfill for Promise.all.
Show answer
A third-party library you need has no TypeScript types. What do you do?
Show answer
Define brand design tokens in Tailwind CSS v4.
Show answer
Split vendor libraries into separate chunks and visualise the bundle.
Show answer
Design the frontend for a search box with autocomplete suggestions.
Show answer
Your page embeds a payment iframe from another domain and needs its result. How do you do it safely?
Show answer
How do you choose the right image format and size?
Show answer
Write a DeepReadonly type using mapped and conditional types.
Show answer
Type checking takes several minutes in a large monorepo. How do you speed it up?
Show answer
Write a Playwright end-to-end test for a login flow.
Show answer
How do HTTP caching headers work for frontend assets?
Show answer
What is the difference between lab data and field data in performance?
Show answer
Frequently asked questions
What happens in the Frontend Development technical round round?
The technical round is the core of a Frontend Development interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
How do I clear the technical round round?
Say your approach out loud before you start writing. After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question. Pick one project you can explain end to end, including what you would do differently.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.