DoorDash interview question

Write a feature that pulls from an api and displays a list.