Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🌤️ Weather App 🌤️

A sleek and intuitive weather forecasting app that provides real-time weather updates based on the user's location. Built using modern web technologies, this app offers a responsive and user-friendly interface, making it perfect for quick weather checks on any device.


📱 Features

  • 🌡️ Current Weather: View the current temperature, humidity, wind speed, and more!
  • Hourly Forecast: Get a detailed hourly forecast for the next 24 hours.
  • 🌦️ Weekly Forecast: Check the weather for the next 7 days.
  • 🌍 Location-based: Automatically detects and displays the weather for your current location.
  • 🔍 Search by City: Search weather information for any city around the world.
  • 💅 Beautiful UI: A clean, responsive design powered by Tailwind CSS for a smooth experience.
  • 🌈 Weather Icons: Display accurate, easy-to-understand weather icons in real time.
  • 🌡️ Unit Toggle: Switch between Celsius and Fahrenheit for temperature measurements.

🚀 Technologies Used

  • HTML5: For building the structure and layout of the app.
  • CSS3: Styled with Tailwind CSS to ensure responsiveness and modern design.
  • JavaScript: Handles dynamic content and API calls to fetch real-time weather data.
  • Weather API: Fetches weather data using the OpenWeather API.
  • LocalStorage: Stores user preferences such as city searches and unit selection.
  • Geolocation API: Automatically detects the user's location.

⚙️ Setup

Prerequisites

Ensure you have the following installed on your machine:

  • Node.js (required for running the app locally)
  • A modern browser (Chrome, Firefox, Safari, etc.)

Installation Steps

  1. Clone the repository:
    git clone https://github.com/md-sonu07/weather.app.git
    
    
    

Additional Enhancements:

  • API Usage: A section that explains how to use the API key for fetching data and the setup of .env for secure key management.
  • Roadmap: A list of upcoming features that might be added in future updates.
  • FAQ: Helps users troubleshoot common issues they might encounter while using or setting up the app.

📜 License

This project is open-source and available under the MIT License.


📄 MIT License

MIT License

Copyright (c) 2025 Danish Farhan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Track the forecast with ease! Get real-time weather updates, 5-day forecasts, and severe weather alerts.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages