Skip to content

2004khushig/WeatherPrediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

This Weather App provides current weather information for various cities. It fetches data from a weather API and displays it in a user-friendly interface.

Features

  • Displays current temperature, feels like temperature, minimum and maximum temperatures.
  • Shows environmental conditions such as pressure, humidity, and sea level.
  • Provides general information including visibility, wind speed, sunrise, and sunset times.
  • Lists weather data for common cities.

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/weather-app.git
  2. Navigate to the project directory:
    cd weather-app
  3. Open index.html in your preferred web browser.

Usage

  1. Enter the name of a city in the search bar and click the "Search" button to fetch and display the weather data for that city.
  2. The app will also display weather information for a list of common cities.

Files

  • index.html: The main HTML file that structures the web page.
  • style.css: The CSS file that styles the web page.
  • script.js: The JavaScript file that fetches weather data from the API and updates the web page.

API

This app uses the Weather API to fetch weather data. You need to sign up on RapidAPI to get your API key and replace the placeholder in script.js.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published