DoorDash Interview Question

Given a mock, implement it (JS + CSS).