Front end interview questions & prep for senior and lead engineers
Practice 658+ front end interview questions with worked solutions: JavaScript functions, React UI coding, algorithms, quizzes, front end system design and behavioral rounds. Code and run tests in the browser, follow a study plan, and read how top companies interview.
Question formats
All questionsPopular interview questions
Array.prototype.filter
Implement Array.prototype.filter with thisArg support and correct handling of sparse arrays.
Accordion
Build an accessible accordion with expandable sections and full keyboard support.
Best Time to Buy and Sell Stock
Find the largest gain from one buy followed by one later sell in a price history.
How do you abort a web request using `AbortController` in JavaScript?
Cancelling fetch with signals, timeouts, AbortSignal.any and cleaning up in effects.
Autocomplete / Typeahead Component
Design a reusable, accessible autocomplete component with debounced search, caching, race handling and keyboard navigation.
Tell me about a failure and what you learned
Describe a real failure you were responsible for, how you handled the fallout and what changed in how you work afterwards.
Study plans
View allGuides & playbooks
View allCompany interview guides
View allFrequently asked questions
What is Lead Frontend?
Lead Frontend is a free interview prep site for senior and lead front end engineers. It has coding questions with an in-browser editor and tests, quizzes, front end system design case studies, behavioral questions, study plans and company guides.
Which front end interview topics are covered?
JavaScript functions and polyfills, React and user interface coding, algorithms, front end quiz questions (HTML, CSS, JavaScript, React, browsers, accessibility, performance), front end system design, and behavioral and leadership questions.
Is Lead Frontend free?
Yes. Every question, solution, guide and study plan is free. Creating an account is optional and only saves your progress across devices.
How should I prepare for a senior or lead front end interview?
Pick a study plan that matches your timeline, practice JavaScript and UI coding questions in the editor, review front end system design frameworks, and prepare behavioral stories about leading projects and people. The guides walk through each round.
Can I run and test my code?
Yes. Coding questions open in an in-browser editor with starter code and unit tests. Tests run when you click Run tests, and a reference solution is available for every question.