Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weather-App

Screenshot 2023-12-26 122046

Weather App

This is a simple weather application that allows users to check the current weather and hourly forecast for a specific city.

Features

  • Current weather information (temperature, description) for the specified city.
  • Hourly forecast for the next 24 hours with 3-hour intervals.

Getting Started

Prerequisites

Before you begin, make sure you have the following:

  • OpenWeatherMap API key. You can obtain one here.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/weather-app.git
  2. Open the project in your preferred code editor.

  3. Create a file named config.js in the root of the project and add your OpenWeatherMap API key: // config.js const apiKey = 'your-api-key';

Usage

Open index.html in a web browser.

Enter the name of the city in the input field and click the "Get Weather" button.

The current weather information and hourly forecast will be displayed.

API Reference OpenWeatherMap AP

About

This is a simple weather application that allows users to check the current weather and hourly forecast for a specific city.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages