You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original code in "News Website" project is using legacy XHR code to fetch data from news api. XHR is old school now and can be categorized as legacy and outdated. We need to update that to modern fetch API.
The api doesn't have any check for API failure like 401 Unauthorized, 429 Rate Limit.