Skip to content

A basic weather application that uses an API to fetch data and give updates on the current weather.

Notifications You must be signed in to change notification settings

JosephMusenge/Weather-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weather Application

This is a simple weather application that allows users to retrieve and display the current weather information for a given city using the OpenWeatherMap API.

Features

  • Fetches weather data from the OpenWeatherMap API based on user input.
  • Displays the weather information, including temperature, weather description, humidity, and wind speed, on the webpage.
  • Provides a visual representation of the weather conditions through weather icons.

How to Use

  1. Clone or download the repository to your local machine.
  2. Open the index.html file in a web browser.
  3. Enter the name of the city for which you want to retrieve the weather information in the search bar.
  4. Click the "Search" button or press Enter.
  5. The weather information for the specified city will be displayed on the webpage, including the city name, weather description, temperature in Celsius, humidity percentage, and wind speed in kilometers per hour.

Note: Make sure you have an internet connection to successfully retrieve the weather data from the OpenWeatherMap API.

Dependencies

  • This application utilizes the OpenWeatherMap API to fetch weather data. It requires an API key to make requests. You can sign up for an API key at OpenWeatherMap and replace the apiKey variable in the app.js file with your own API key.

About

A basic weather application that uses an API to fetch data and give updates on the current weather.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published