Skip to content

Conversation

Rugved-pro
Copy link
Contributor

Overview:
This PR improves the existing weather widget in the repository by enhancing its visual design, responsiveness, and interactivity, while keeping it completely CSS-only (no JavaScript added).

Changes made:

Updated the main weather widget with a modern gradient background and better typography.

Improved weekly forecast layout:

Added gradient backgrounds for different weather types (Sunny, Cloudy, Rainy, Partly Cloudy).

Added hover effects: slight scale-up and box-shadow for interactivity.

Responsive flex layout for mobile devices.

Improved spacing, padding, and text contrast for readability.

Added weather emojis/icons for quick visual identification of weather types.

Before vs After:

Before: Static and plain colors, cramped layout, limited responsiveness.

After: Modern design, interactive hover effects, fully responsive, visually appealing, and still completely JS-free.

Purpose:

Enhances the look and feel of the widget.

Aligns with the repo’s philosophy of “You Don’t Need JavaScript”.

Makes it more beginner-friendly and visually engaging for contributors and viewers.

@aayush105
Copy link
Member

Hello @Rugved-pro
Please add the output images as well in the comment so i can review it.

@Rugved-pro
Copy link
Contributor Author

This is before changes
Before changes
this is after the changes
After changes

@aayush105
Copy link
Member

LGTM!!

Great improvement in the UI.

Thank you @Rugved-pro for you contribution.

@aayush105 aayush105 merged commit 924d7ed into you-dont-need:master Oct 3, 2025
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.

2 participants