Skip to content

A web application that allows users to get the current weather and weather forecast for a specific location.

Notifications You must be signed in to change notification settings

Sanghanmol/SkyCast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

SkyCast

A web application that allows users to get the current weather and weather forecast for a specific location.

Table of Contents

Overview

It is a simple web application that allows users to get the current weather and weather forecast for a specific location. It utilizes the OpenWeatherMap API to fetch weather data and display it in a user-friendly manner.

Features

  • Display the current weather information including date, time, location, temperature, and weather conditions.
  • Show a 8-day weather forecast with daily temperature and weather icons.
  • Retrieve weather data from the OpenWeatherMap API based on the user's input location.
  • Use of asynchronous JavaScript (Async/Await) for making API requests and handling responses.
  • Error handling for handling API request failures and displaying appropriate error messages.
  • Responsive design for a better user experience on different devices.

Installation

To run the Weather App locally on your machine, follow these steps:

  1. Clone the repository: git clone https://github.com/Sanghanmol/SkyCast.git

  2. Open the project directory: cd SkyCast

  3. Obtain an API key from OpenWeatherMap:

  • Visit the OpenWeatherMap website and create an account.
  • Generate a free API key for accessing weather data.
  • Copy the API key for use in the application.
  1. Update the API key:
  • Open the script.js file in a text editor.
  • Replace 'API_KEY' with your actual OpenWeatherMap API key.
  1. Launch the application: Open the index.html file in a web browser

  2. Enter a location:

  • Type the name of a city or a specific location in the input field.
  • Click the "Search" button to fetch and display the weather information.

Technologies Used

HTML CSS JavaScript

API Used

OpenWeatherMap API

License

This project is licensed under the MIT License.

About

A web application that allows users to get the current weather and weather forecast for a specific location.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published