The Simple Weather App is a web application that allows users to get real-time weather information for any city. Users can input a city name to retrieve current weather conditions, including temperature, humidity, and wind speed. The app also displays an appropriate weather chibi icon based on the weather conditions.
- Search for real-time weather information by city name
- Display temperature, humidity, and wind speed
- Dynamic weather icons based on weather conditions
- Responsive design for optimal viewing on all devices
- indicating the cloudy weather.
- indicating the sunny weather.
- indicating the rainy weather.
- indicating the drizzle weather.
- indicating the mist.
- HTML5
- CSS3
- JavaScript
- OpenWeatherMap API
- Web browser (Chrome, Firefox, Safari, etc.)
- Internet connection
-
Clone the Repository
git clone https://github.com/aman-sharma123/simple_weather_app.git
-
Navigate to the Project Directory
cd simple-weather-app
-
Open
index.html
in Your Browser
-
Enter a City Name: Type the name of the city you want to check the weather for in the search bar.
-
Search: Click the search button or press the Enter key to fetch the weather information.
-
View Weather: The current weather information, including temperature, humidity, and wind speed, will be displayed along with an appropriate weather icon.
- index.html: The main HTML file that structures the app.
- styles.css: The CSS file that styles the app.
- images/: Directory containing weather icons and other images used in the app.
- weather.js: The javascript file.
This app uses the OpenWeatherMap API to fetch real-time weather data. You need an API key from OpenWeatherMap to use this app. Replace the apiKey
variable in the weather.js
with your own API key.
const apiKey = "your_openweathermap_api_key";
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Push your changes to your forked repository.
- Submit a pull request with a detailed description of your changes.
This project is licensed under the MIT License. See the LICENSE file for more details.
- OpenWeatherMap for providing the weather API.