Skip to content

BrianShifoko/Weather-Web-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

The Weather App is a modern, user-friendly application that allows users to get current and next-day weather forecasts for any city or town. It provides detailed weather information, including temperature, weather conditions, wind speed, and offers advice based on the forecast. Users can switch between Celsius and Fahrenheit units with a stylish toggle button.

Netlify Status

Weather App

Weather App Screenshot

Features

  • Fetches current weather and next-day forecast for any country, city or town.
  • Displays temperature, weather conditions, and wind speed.
  • Provides user-friendly advice based on the weather forecast.
  • Switch between Celsius and Fahrenheit units with a toggle button.
  • Dynamic background images based on current weather conditions.
  • Alerts users if an invalid city or town name is entered.

Setup

  1. Clone the repository:

    git clone https://github.com/BrianShifoko/Weather-Web-Application.git
  2. Open index.html in your web browser.

  3. Replace YOUR_API_KEY in script.js with your OpenWeatherMap API key:

    const apiKey = 'YOUR_API_KEY'; 

Usage

  1. Enter the name of a country, city or town in the input field.
  2. Press the search button or hit the "Enter" key to fetch the weather data.
  3. Toggle between Celsius and Fahrenheit using the toggle button.
  4. Read the weather information and advice provided for the current and next day.

Authors

Brian Shifoko

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published