Weather Forecast Application

This is a simple weather forecast web application that fetches and displays the current weather data for a specified city using the WeatherAPI.

Features

  • 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.

Technologies Used

Getting Started

Prerequisites

  • A modern web browser
  • Internet connection

Installation

  1. Clone the repository:

    git clone https://github.com/NikolozKereselidze/weather-forecast.git
  2. Navigate to the project directory:

    cd weather-forecast
  3. Open index.html in your web browser.

Usage

  1. Enter the name of the city you want to search for in the search input field.
  2. Press Enter to fetch the weather data.
  3. The current weather data for the specified city will be displayed.
  4. Use the toggle button to switch between Celsius and Fahrenheit.