Your question is Frontend API Integration. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Explain how you integrate an API into a frontend, including which libraries you use and how you handle errors in real scenarios.
Describe your implementation approach from understanding the API contract through rendering data in the UI. Cover library selection, authentication, loading and empty states, retries, timeouts, malformed responses, failed requests, and user-facing error handling. Explain how you would test the integration and monitor or debug issues after release.