12 questions with answer tips
Xem bằng tiếng ViệtFrontend Engineer Interview Questions and Answers (2026)
The 12 questions below are the ones Frontend Engineer candidates meet most often: 7 technical, 3 behavioral and 2 situational. Under each question is what a strong answer should cover.
Technical questions
These check that you can actually do the work. Answer with the steps you take, the tools you use and a real example.
1What happens in the browser between typing a URL and seeing a page?
How to answer: Cover DNS, TCP and TLS, the HTML response, parsing, CSSOM, render tree, layout, paint and JavaScript execution. Point out where performance is lost.
2How do you improve the performance of a slow page?
How to answer: Measure first with Lighthouse and the Performance panel. Then look at bundle size, images, render-blocking resources, caching and unnecessary re-renders, and re-measure.
3Explain how the virtual DOM and reconciliation work in React.
How to answer: Describe diffing, keys and why updates are batched. Mention memoization and when it helps and when it only adds complexity.
4How do you manage state in a large application?
How to answer: Separate server state from client state, keep state close to where it is used and say when you would reach for a global store or a data-fetching library.
5How do you make a form accessible?
How to answer: Labels linked to inputs, clear error messages, keyboard navigation, focus management and testing with a screen reader.
6What is the difference between CSR, SSR and SSG, and when do you choose each?
How to answer: Compare first paint, SEO, server cost and freshness of data. Give one example product for each.
7How do you protect a frontend app against XSS and token theft?
How to answer: Escape output, avoid dangerouslySetInnerHTML, use a content security policy and store tokens in httpOnly cookies where possible.
Behavioral questions
These ask what you did in the past. Use the STAR method: Situation, Task, Action, Result, and end with a number if you have one.
8Tell me about a UI bug that only happened in production.
How to answer: Use situation, action, result: how you reproduced it, what the cause was, how you fixed it and what test or monitoring you added.
9Describe a time you disagreed with a designer. What did you do?
How to answer: Show that you explained constraints with data or a prototype, listened to the reason behind the design and found a compromise.
10Tell me about a project you are proud of.
How to answer: Pick one with a measurable result. Explain your part, the hardest problem and what you would do differently now.
Situational questions
These ask what you would do. Walk through how you think: what you check first, who you involve and how you decide.
11A launch is on Friday but on Wednesday you find the page breaks on Safari. What do you do?
How to answer: Reproduce, check the impact and share options with the team (fix now, ship a fallback, delay) with the risk of each.
12How would you build a design system for three teams?
How to answer: Start with an audit of existing UI, define tokens and a small set of core components, document in Storybook and agree how teams contribute and version changes.
How the interview process usually goes
Most employers run three to four steps. Knowing which one you are in tells you what to prepare.
- 1Recruiter screen
15-30 minutes on your background, motivation, salary range and availability. Keep a one-minute story of your career ready.
- 2Hiring manager
Deeper questions about your experience and how you work. Expect several behavioral questions here.
- 3Skills or technical round
A test, case study, live exercise or portfolio review that checks you can do the work.
- 4Final round and offer
Meeting the team or a senior leader, then references and the offer. Prepare questions of your own.
Turn a resume bullet into a STAR answer
Your best behavioral answers are already on your resume. Take one strong bullet and tell the story behind it.
Resume bullet
Rebuilt the checkout flow in React and TypeScript, lifting conversion from 2.1% to 2.9% and cutting load time from 3.8 s to 1.4 s
- Situation
- One sentence of context: the team, the problem and why it mattered.
- Task
- What you were responsible for, and what success would look like.
- Action
- Most of your answer: the steps you took yourself, the tools you used and the decisions you made.
- Result
- The number from the bullet, plus what changed afterwards or what you learned.
What the job involves
Interviewers build their questions around the day-to-day work. Have one example ready for each of these:
- Build responsive pages and reusable components from design files (Figma) with HTML, CSS and TypeScript
- Connect the interface to REST or GraphQL APIs and handle loading, empty and error states
- Manage application state and data fetching so the interface stays predictable as it grows
- Improve performance: bundle size, lazy loading, image optimization and Core Web Vitals
- Make interfaces accessible with semantic HTML, keyboard support and screen reader labels
- Write unit, component and end-to-end tests and review teammates' pull requests
HTML and CSS
Semantic markup, Flexbox, Grid, responsive layouts and maintainable styles (CSS modules, Tailwind CSS).
JavaScript and TypeScript
Modern language features, asynchronous code and strict typing that catches bugs before users do.
A frontend framework
React (most common), Vue or Angular. Depth in one matters more than a list of three.
State management and data fetching
React Query, Redux Toolkit or similar, with clear rules for server state and client state.
Web performance
Core Web Vitals, code splitting, lazy loading, caching and image optimization.
Accessibility
WCAG basics, semantic HTML, focus management, ARIA and testing with a screen reader.
Tools worth mentioning
Where this role leads
Interviewers often ask where you see yourself next. This is the usual path:
- 10-2 yearsIntern / Junior Frontend Engineer
Builds well-defined components and pages with guidance and learns the design system, tools and review process.
- 22-4 yearsFrontend Engineer
Owns features end to end, from design handoff to production, and handles performance and bugs alone.
- 34-7 yearsSenior Frontend Engineer
Designs frontend architecture, leads technical decisions in the team and mentors others.
- 47+ yearsStaff Engineer / Frontend Lead
Sets frontend direction across teams, owns the design system and solves cross-team problems.
- 58+ yearsEngineering Manager or Principal Engineer
Either leads people and delivery, or stays technical at the highest level of the company.
Questions to ask the interviewer
Asking one or two good questions at the end shows interest and helps you judge the job.
Checklist for the day before
- Reread the job post and match each main requirement to one example of yours.
- Prepare four or five STAR stories you can adapt to different questions.
- Look up the company's product, customers and recent news.
- Practise your answers out loud, ideally recording yourself once.
- Prepare your questions for the interviewer and your salary range.
- For video calls, test camera, microphone and connection beforehand.
Frequently asked questions
What questions are asked in a Frontend Engineer interview?
Expect a mix of technical, behavioral and situational questions; this page lists 12 (7 technical, 3 behavioral, 2 situational). Common ones include: What happens in the browser between typing a URL and seeing a page? How do you improve the performance of a slow page? Explain how the virtual DOM and reconciliation work in React.
How do I prepare for a Frontend Engineer interview?
Review the core skills (HTML and CSS, JavaScript and TypeScript, A frontend framework, State management and data fetching), prepare one short story with a measurable result for each main duty of the job, and practise answering out loud. A free AI mock interview on TalentFlux-AI asks role-specific questions by voice and scores your answers.
How should I answer behavioral interview questions?
Use the STAR method: describe the Situation and your Task in one or two sentences, spend most of the answer on the Actions you personally took, and finish with the Result, ideally a number such as time saved, revenue or error rate.
Which tools should a Frontend Engineer mention in an interview?
The tools that come up most for this role are Git, VS Code, Figma, Chrome DevTools, Vite, Storybook. Mention the ones you have really used, with what you did in them.
Interview questions for related roles
Ready for your Frontend Engineer interview?
Reading answers is not the same as saying them. The free AI mock interview asks you questions for this role by voice, follows up like a real interviewer and scores your answers afterwards.