Stripe Senior Frontend Interview

Title Template

Stripe - Senior Frontend Engineer - Technical / Phone screen

Description Template:
Level: Senior
Questions Asked:
I was given an object called passPortFormat used to determine passport number formatting rules for different countries.

The basic idea was to implement a form that includes:

  • A country dropdown
  • A passport input box

Part 1: Implement the UI display and styling of the component
Part 2: Implement validation based on the format rules
Part 3: Implement error handling

At the end, I was asked a few questions like how I would improve accessibility and refactor the code.