Skip to content

Add loading state for /weather API call#258

Open
Muskankr wants to merge 1 commit into
thetechguardians:mainfrom
Muskankr:fix/weather-loading-state
Open

Add loading state for /weather API call#258
Muskankr wants to merge 1 commit into
thetechguardians:mainfrom
Muskankr:fix/weather-loading-state

Conversation

@Muskankr

Copy link
Copy Markdown

Fixes #256

Changes:

  • Added loading indicator <div id="loading"> in index.html
  • Toggled loading state in script.js around /weather API call
  • Styled loading indicator with spinner in style.css

Result:
Users now see a clear “Analyzing weather data…” spinner while the API call is in progress, improving responsiveness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No loading state while /weather API call is in progress

1 participant