Weather Dashboard with Dynamic Animations

By (@sasam) · · Websites

I built a real-time Weather Dashboard using the OpenWeatherMap API, HTML, CSS, and JavaScript. My goal was to move beyond basic static sites by creating a visually engaging, aesthetic dashboard with glassmorphism UI and background animations that change dynamically based on the current weather condition (sunny, rainy, or night). Throughout this process, I learned how to handle API integration, use JavaScript's fetch to retrieve data, manage dynamic CSS classes for different weather themes, and implement CSS animations for a smoother, more 'alive' user experience.

Tech stack

  • Vercel
  • Gemini
  • GitHub Copilot

Prompt

Since we collaborated over several steps to build this, you can use this consolidated prompt that captures the essence of our work:

"Help me build a weather dashboard website using OpenWeatherMap API, HTML, CSS, and JavaScript. Include a real-time clock, dynamic background animations that change based on weather conditions (sunny/rainy/night), weather icon support, and a clean, aesthetic glassmorphism UI."

10 likes · 9 views

Explore more on Prompted