machine coding round frontend react