This is a simple weather forecast web application that fetches and displays the current weather data for a specified city using the WeatherAPI.
- Fetches and displays current weather data for a given city.
- Shows temperature, condition, wind speed, and humidity.
- Allows toggling between Celsius and Fahrenheit for temperature display.
- Handles errors gracefully when the city is not found.
- HTML
- CSS
- JavaScript
- WeatherAPI
- A modern web browser
- Internet connection
-
Clone the repository:
git clone https://github.com/NikolozKereselidze/weather-forecast.git
-
Navigate to the project directory:
cd weather-forecast
-
Open
index.html
in your web browser.
- Enter the name of the city you want to search for in the search input field.
- Press Enter to fetch the weather data.
- The current weather data for the specified city will be displayed.
- Use the toggle button to switch between Celsius and Fahrenheit.