A minimalist weather app built using plain HTML, CSS, and JavaScript that fetches current weather data for a given location.
- ⚡ Get current weather information for any city
- ❄ Display weather details like temperature, humidity etc.
- ⭐Responsive and mobile-friendly design
- Clone or download the repository to your local machine.
- Open the
index.html
file in your preferred web browser. - Enter the name of the city you want to get the weather information for in the input field.
- Click the search button to fetch the weather data.
- The weather information will be displayed on the screen.
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';
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.
This project is open-source and available under the MIT License.