This is a simple weather app built using HTML, CSS, and JavaScript. It allows users to enter a city name and view the current weather conditions for that city.
- City Search: Users can enter the name of a city and press enter to view the current weather conditions.
- Weather Display: The app displays the current temperature, weather description, and icon representing the weather condition.
- Responsive Design: The app is designed to work on desktop and mobile devices.
- HTML: Used for structuring the web page.
- CSS: Used for styling the web page and making it responsive.
- JavaScript: Used for fetching weather data from an API and updating the UI.
Clone the repository to your local machine:
git clone https://github.com/Saravanarajan29/Simple-Weather-App.git
1.Open the index.html file in your web browser.
2.Enter the name of a city in the input field and press enter.
3.The app will display the current weather conditions for the entered city.
This app uses the OpenWeatherMap API to fetch weather data. You'll need to sign up for an API key here and replace the placeholder API key in the script.js
file with your own API key.
- Weather icons courtesy of OpenWeatherMap
Developed by Saravanarajan.