Skip to content

FireBird1998/Weather-App-V2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App V2

This is a weather app that allows users to get weather information for a specific location or their current location. The app displays current weather conditions, air quality information, hourly forecasts, and a 5-day weather forecast. It also includes a search feature for users to input a location and view weather details.

Table of Contents

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/FireBird1998/Weather-App-V2.git
  2. Navigate to the project directory:

    cd weather-App-V2
  3. Open the index.html file in your web browser to use the app.

Usage

  • To view weather information for your current location, click on the "Use Current Location" button.
  • To search for weather information for a specific location, type the location in the search bar and press Enter.
  • The app will display current weather conditions, air quality details, hourly forecasts, and a 5-day weather forecast.
  • You can click on a specific day in the 5-day forecast to view more details about that day's weather.

Live Demo

You can access the live web app here: Weather App V2

Main Files

  • index.html: The main HTML file that structures the app's user interface.
  • main.js: Contains functions for updating weather information and handling location-related features.
  • api.js: Handles data fetching and API requests for weather information.
  • module.js: Contains utility functions for formatting dates, times, and air quality levels.
  • router.js: Manages routing based on URL hashes to update content dynamically.
  • styles.css: Stylesheet file for styling the app's user interface.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published