InterviewLegend

Design a Shopping Cart (Front End)

Sometimes asked
Alex Chen24 min readGuide updated

This came up in a Lead front-end onsite in Seattle in November 2025, drawn on a whiteboard. It was one of two front-end design rounds in that loop. The other was a feature flag system, and the candidate went on to sign the offer. Prepare the shape of it, because your interviewer's wording will differ. Picture where a cart shows up on a store page. There's a count in the header and an add button on every product tile. A drawer slides out with the lines, and a full cart page lets the shopper change quantities and see a total. Every one of those is a view of the same cart. The server holds the real copy, because the shopper expects it to be there on their phone tomorrow. The round is about keeping all of those views in agreement while the network is slow and sometimes fails.

The Disney angle
The same Lead loop had a code review with a principal engineer: a badly written React component, with state and API calls, framed as a junior's work. The cart round tests those instincts at a larger scale. Who owns the state? Where do the fetch calls live? What does the screen show when a request fails?

DisneyPremium lesson · System design round

The Disney design, worked end to end.

  1. Requirements and scopeSystem design
  2. The API and data model
  3. The design, drawn out1 diagram
  4. 6 deep divesWith the tradeoffs
Get the Disney questions

$49 a year · all 122 companies · instant access

21,000+ candidate reports

Disney interview guide

Know what Disney asks before you walk in.

27 coding · 6 system design · 16 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Disney interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.