Ramp interview question

Front end react question to answer in one hour