Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.26 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.26 KB

🌤Simple Weather App

A minimalist weather app built using plain HTML, CSS, and JavaScript that fetches current weather data for a given location.

⛅Features

  • ⚡ Get current weather information for any city
  • ❄ Display weather details like temperature, humidity etc.
  • ⭐Responsive and mobile-friendly design

🌏How to Use

  1. Clone or download the repository to your local machine.
  2. Open the index.html file in your preferred web browser.
  3. Enter the name of the city you want to get the weather information for in the input field.
  4. Click the search button to fetch the weather data.
  5. The weather information will be displayed on the screen.

🔥API

The app uses the OpenWeatherMap API to fetch weather data. To use the API, you'll need to obtain an API key from OpenWeatherMap.

Replace YOUR_API_KEY in the script.js file with your own API key:

const apiKey = 'YOUR_API_KEY';

🌀Customization

You can customize the appearance of the app by modifying the styles in the style.css file. Feel free to add more features or improve the existing ones by editing the script.js file.

License

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