Skip to content

Repository files navigation

Weather Now 🌤️

Frontend Mentor HTML5 JavaScript Tailwind CSS Live Demo


🎬 Demo

Live demo: https://alijahanyt.github.io/Weather-App/


📑 Table of Contents


🌟 About

Weather Now is a modern, responsive web app that shows current weather, daily forecasts, and hourly forecasts worldwide.

It automatically detects the user's city via IP for first-time visitors and allows dynamic searching for other cities.

Built with HTML, JavaScript, and Tailwind CSS, the app emphasizes clean UI, accessibility, and real-time weather data using Open-Meteo API.


✨ Features

🌈 Core Features

  • Current Weather: temperature, feels like, humidity, wind, precipitation, and icons.
  • 7-Day Daily Forecast: includes max/min temperatures.
  • Hourly Forecast: hourly updates with icons and temperature.
  • IP-Based City Detection: for first-time users.
  • Dynamic Search: type any city to get instant results.
  • Units Conversion:
    • Temperature: °C / °F
    • Wind speed: km/h / mph
    • Precipitation: mm / in

🎨 UI/UX Features

  • ✅ Fully responsive design using Tailwind CSS.
  • ✅ Modern dark theme with smooth gradients.
  • Custom radio buttons for unit selection.
  • Accessible: works with screen readers & keyboard navigation.

⚡ Technical Features

  • ✅ Fetches weather dynamically using Open-Meteo API.
  • ✅ Dynamically updates:
    • Weather icons based on codes
    • Forecast weekdays & temperatures
    • Hourly forecast times & temperatures
  • ✅ Local unit conversion without extra API calls.
  • ✅ Lightweight, fast, and optimized for small bundle sizes.

📸 Screenshots

Screenshot Captions:

  • 🌅 Daily forecast card
  • 🌤️ Hourly forecast panel
  • 💻 Code & structure overview

🛠️ Technologies Used

HTML5
JavaScript
Tailwind CSS

  • Open-Meteo API for weather data
  • IP-based geolocation API for default city detection

🌐 Socials

Instagram LinkedIn GitHub


👨‍💻 Author


Thank you for checking out Weather Now! Fork, star, and share your feedback! 🌤️

About

a weather app based on a frontend mentors challenge

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages