Skip to content

thisispit/Drizzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌦️ Drizzzle Weather App

A beautiful, responsive weather application with real-time data and intelligent outfit recommendations. Built with vanilla JavaScript, featuring smooth animations and dynamic weather-based backgrounds.

Drizzzle Weather App

🌐 Live Demo

πŸš€ View Live App

✨ Features

🌑️ Weather Information

  • Real-time Weather Data - Powered by OpenWeatherMap API
  • Current Temperature - Accurate temperature readings in Celsius
  • Weather Conditions - Detailed weather descriptions with appropriate icons
  • Location Display - City name and country information
  • Additional Metrics - Humidity, wind speed, and "feels like" temperature

🎨 Visual Experience

  • Dynamic Backgrounds - Background colors change based on weather conditions
  • Weather Animations - Realistic rain, snow, and cloud animations
  • Smooth Transitions - GPU-accelerated animations with no performance lag
  • Responsive Design - Works perfectly on desktop, tablet, and mobile devices
  • Modern UI - Clean, minimalist design with glassmorphism effects

πŸ‘• Smart Outfit Recommendations

  • Temperature-Based Suggestions - Intelligent clothing recommendations based on current temperature
  • Weather-Aware Advice - Specific suggestions for rain, snow, sun, and other conditions
  • Accessory Recommendations - Umbrella, sunglasses, jackets, and seasonal gear suggestions
  • Color Guidance - Color recommendations based on weather and temperature
  • Visual Icons - Easy-to-understand clothing icons and emojis

🎬 Demo

Main Interface

Main Interface Clean, modern interface with real-time clock and search functionality

Weather Search

Weather Search Search for any city worldwide with instant results

Dynamic Backgrounds

Dynamic Backgrounds Background changes based on weather conditions with matching animations

Outfit Recommendations

Outfit Recommendations Smart clothing suggestions based on weather and temperature

Responsive Design

Responsive Design Perfect experience across all device sizes

πŸš€ Getting Started

Prerequisites

  • Modern web browser (Chrome, Firefox, Safari, Edge)
  • Internet connection for weather data
  • OpenWeatherMap API key

Installation

  1. Clone the repository

    git clone https://github.com/thisispit/Drizzzle.git
    cd Drizzzle
  2. Get your API key

    • Visit OpenWeatherMap
    • Sign up for a free account
    • Generate your API key
  3. Configure the API key

    • Open script.js
    • Replace the API key on line 19:
    const apiKey = 'YOUR_API_KEY_HERE';
  4. Launch the application

    • Open index.html in your web browser
    • Or use a local server:
    # Using Python
    python -m http.server 8000
    
    # Using Node.js
    npx serve .

πŸ› οΈ Technology Stack

Frontend

  • HTML5 - Semantic markup structure
  • CSS3 - Modern styling with flexbox, animations, and responsive design
  • Vanilla JavaScript - No frameworks, pure JavaScript for performance

APIs

  • OpenWeatherMap API - Real-time weather data
  • Geolocation API - Optional location detection

Design Features

  • Glassmorphism - Modern frosted glass effects
  • JetBrains Mono Font - Clean, professional typography
  • CSS Animations - Smooth, hardware-accelerated transitions
  • Responsive Grid - Mobile-first responsive design

πŸ“± Browser Support

Browser Version Status
Chrome 60+ βœ… Fully Supported
Firefox 55+ βœ… Fully Supported
Safari 12+ βœ… Fully Supported
Edge 79+ βœ… Fully Supported
Opera 47+ βœ… Fully Supported

🎯 Key Features Breakdown

Weather Conditions Supported

  • β˜€οΈ Clear Sky - Sunny backgrounds with gentle cloud animations
  • ☁️ Cloudy - Overcast backgrounds with moving clouds
  • 🌧️ Rain/Drizzle - Rain animations with appropriate color schemes
  • β›ˆοΈ Thunderstorm - Dramatic stormy backgrounds with rain effects
  • ❄️ Snow - Winter theme with falling snow animation
  • 🌫️ Fog/Mist - Subtle, mysterious atmospheric effects

Outfit Intelligence

  • Temperature Ranges:

    • 30Β°C+: Light, breathable clothing
    • 25-30Β°C: Summer attire
    • 20-25Β°C: Comfortable spring/fall wear
    • 15-20Β°C: Light layers recommended
    • 10-15Β°C: Warm clothing needed
    • 0-10Β°C: Winter gear required
    • Below 0Β°C: Heavy winter protection
  • Weather-Specific Accessories:

    • Rain: Umbrella, raincoat
    • Snow: Winter boots, warm socks
    • Sun: Sunglasses, sun hat
    • Wind: Windbreaker, secure accessories

πŸ”§ Customization

Changing Colors

Edit the CSS variables in style.css:

:root {
  --primary-color: #ffffff;
  --background-dark: #1e1e1e;
  --accent-color: #ff6b35;
}

Adding New Weather Conditions

  1. Add new weather icons in getWeatherIcon() function
  2. Add corresponding background colors in weather-based CSS classes
  3. Update outfit recommendations in getOutfitRecommendation() function

Modifying Animations

All animations use CSS keyframes and can be customized in the CSS file:

  • Adjust duration, easing, or effects
  • Add new animation types
  • Modify existing transitions

πŸ› Troubleshooting

Common Issues

Weather data not loading

  • Check your internet connection
  • Verify your API key is correct and active
  • Ensure city name is spelled correctly

Animations not smooth

  • Update to a modern browser
  • Check if hardware acceleration is enabled
  • Verify your device meets minimum requirements

Layout issues on mobile

  • Clear browser cache
  • Check viewport meta tag is present
  • Ensure responsive breakpoints are working

🀝 Contributing

We welcome contributions! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch
    git checkout -b feature/amazing-feature
  3. Commit your changes
    git commit -m 'Add amazing feature'
  4. Push to the branch
    git push origin feature/amazing-feature
  5. Open a Pull Request

Development Guidelines

  • Follow existing code style and conventions
  • Test on multiple devices and browsers
  • Ensure accessibility standards are met
  • Keep animations lightweight and performant
  • Document any new features or changes

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • OpenWeatherMap - For providing reliable weather data API
  • Google Fonts - For the beautiful JetBrains Mono font
  • Contributors - Thank you to everyone who has contributed to this project

πŸ“ž Support

If you encounter any issues or have questions:

  1. Check the Issues page
  2. Create a new issue with detailed information
  3. Provide browser version, device info, and steps to reproduce

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors