Community

Discussion Board

Anonymous interview experiences, offers and career talk from frontend engineers.

anon_679811

Airbnb Frontend Phone Screen: Image Carousel (React)

Airbnb · G8 FrontEnd Engineer · Pending

Rounds

Airbnb Frontend Phone Screen: Image Carousel (React)

Questions asked

Airbnb Frontend Phone Screen: Image Carousel (React)

Stage 1: Base carousel. Render a list of slides, one visible at a time, with automatic advancing.
Stage 2: Countdown. Each slide has its own duration. Show a visible countdown of the time left on the current slide.
Stage 3: Pause. Add a pause/resume control that freezes and resumes both the countdown and the advancing.
Stage 4: 100ms tick. Update the countdown on a 100ms interval for smooth timing, using one clock to avoid drift.
Stage 5: Last slide. On the final slide, the countdown keeps running to zero instead of stopping or wrapping early.
Extras I added: Prev/Next buttons and keyboard access (arrow keys, focus handling with refs). We discussed Space/Enter handling on native buttons.

No replies yet

Markdown supported. 20 more characters needed.