Crack Frontend Interviews

Practice 500+ real questions across UI coding, JavaScript, and system design, with a detailed solution for every one.

  • Google
  • Amazon
  • Microsoft
  • Apple
  • Meta
  • Adobe
  • Netflix
  • Atlassian

User Interface

Explore questions

Every question comes with a working solution, a step-by-step explanation, interviewer grading criteria, and time checkpoints. Write React or vanilla JavaScript and see the result instantly.

JavaScript Coding

Practice JavaScript

Every question has a working solution and a step-by-step explanation. Run your code in the browser and check it against the solution.

debounce
> save() called 3 timeswrite ran once

Every question gives you a short answer to say in the interview and the reason interviewers ask it. Event loop, closures, rendering, networking.

runtime

Explain the event loop

tap to flip · drag for the next card
the short answer

The event loop lets JavaScript handle non-blocking work on a single thread. It keeps checking the call stack, and whenever the stack is empty it picks the next task from the queues and pushes it on for execution.

read the full answer
javascript

What is a closure?

tap to flip · drag for the next card
the short answer

A closure is a function that remembers the variables of the function it was created in, even after that outer function has returned. It works because every function keeps a reference to the scope it was defined in.

read the full answer
networking

What happens when you type a URL?

tap to flip · drag for the next card
the short answer

The browser resolves the domain through DNS, opens a TCP and TLS connection, and sends an HTTP request. The server responds with HTML, and the browser parses it, fetches linked resources, and renders the page.

read the full answer
security

How does CORS work?

tap to flip · drag for the next card
the short answer

CORS is how a server tells the browser which other origins may read its responses. Cross-origin reads are blocked by default and only allowed when the server opts in with Access-Control headers, sometimes after a preflight request.

read the full answer

Practice in a real editor.

Monaco, live tests, and console output. No local setup.

Loading editor...

Trusted by engineers who landed the job

I was easily able to complete my full-stack interview at LinkedIn, Amazon and Stripe with the help of FrontPrep.
Yashraj SinhaSoftware Engineer, Stripe
I was able to get offer from Emergent, Uber and Adobe. I ended up joining Adobe. No questions were asked outside of the list of questions on FrontPrep, it is very exhaustive.
Rajat SainiSenior Frontend Engineer, Adobe
The system design section is what I keep coming back to. At staff level the interview is mostly trade-offs, and there is very little material out there that goes that deep.
Laksh BhutaniStaff Frontend Engineer, Angel One
I just wanted to share an update, I got the Senior frontend engineer job at a US-based startup remote. Just completed 3 months. Your design system document helped a lot. Keep up the good work. Thank you!
Amit DhaterwalSenior Frontend Engineer, Stealth Startup
The quality of the content is top-notch, as usual. The best part is that the articles include practical experience, which makes them especially helpful for HM rounds and for discussing trade-offs and design decisions. The questions explanation & clear cut expectations of Interviewer has been very helpful for me, specially for Machine Coding.
Satish NarayanFrontend Engineer, Target
I was preparing alongside a full-time job. FrontPrep gave me one list to follow instead of collecting random questions from everywhere.
Kanishk BhartiFrontend Engineer, Angel One
FrontPrep is one-stop shop for frontend interview preparation.
Mohit GahlotMember of Technical Staff, eBay
01

Questions

500+ practice questions across UI, JS, and concepts.

02

System design

Question breakdowns and system design core concepts for senior roles.

03

Solutions

Expert solutions with best practices for every question.

04

Test cases

Evaluate your code against real test cases.

05

Evaluation

Interviewer evaluation criteria from top companies.

Monthly · quarterly · yearly plans