Skip to content

voltagevalkyrie/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

This is a simple weather app developed using HTML, CSS, and JavaScript. It fetches weather data from the OpenWeather API to provide current weather information for various locations around the world.

Features

  • Fetches and displays current weather data based on user input.
  • Provides information such as temperature, humidity, wind speed, and weather description.
  • Responsive design for seamless usage across different devices. works only for apple environment..

How to Use

  1. Clone the repository to your local machine:
git clone https://github.com/voltagevalkyrie/weather-app.git
  1. Open the index.html file in your web browser.

  2. Enter the name of the city you want to check the weather for in the input field and press Enter or click on the search button.

  3. Weather information for the specified city will be displayed.

API Key Setup

This app uses the OpenWeather API to fetch weather data. You will need to sign up on the OpenWeather website to get your API key. Once you have the API key, replace "YOUR_API_KEY" in the script.js file with your actual API key.

const apiKey = "YOUR_API_KEY";

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute this code as per the terms of the license.


Happy coding! 🌦️