Skip to content

Added moon phases#437

Open
priyaakl wants to merge 1 commit intoavinash201199:mainfrom
priyaakl:moon
Open

Added moon phases#437
priyaakl wants to merge 1 commit intoavinash201199:mainfrom
priyaakl:moon

Conversation

@priyaakl
Copy link

Description

Added a moon phase status to the weather app, showing the current moon phase with an emoji (e.g., 🌕 Full Moon, 🌓 First Quarter).

Implementation
• Fetched moon_phase data from the weather API.
• Mapped each phase to the appropriate moon emoji.
• Displayed the moon phase below the main weather details.

Testing
1. Open the app and view weather details for any city.
2. Check that the moon phase and matching emoji are displayed correctly.
3. Verify that the displayed phase changes according to the API data.

Please review and consider accepting this pull request as part of Hacktoberfest.

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.

1 participant

Comments