Skip to content

This is a weather app created with HTML, CSS, and vanilla JavaScript. Users can search for weather conditions of any city using SheCodes Weather API and OpenWeatherMap API, view current weather and 5-day forecast, hourly forecasts, and detect their current position.

License

Notifications You must be signed in to change notification settings

s-shemmee/Weather-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

This is a web app developed as a final project for SheCodes Plus using HTML, CSS, and Vanilla JavaScript. It is hosted on Netlify and utilizes both SheCodes Weather API and OpenWeatherMap API to fetch weather data. The app allows users to search for the weather conditions of any city in the world and provides current weather conditions, a 5-day forecast, and hourly forecasts. Additionally, the app can detect the user's current position if they allow it.

Opera Snapshot_2024-02-08_130720_weather-app-shemmee netlify app

Features

  • Users can search for weather conditions of any city in the world.
  • The app displays the current weather conditions, including temperature and weather description.
  • The app provides a 5-day forecast for the searched city, including hourly forecasts.
  • The app can detect the user's current position if they allow it.
  • The app fetches weather data using both SheCodes Weather API and OpenWeatherMap API.

Technologies & Tools Used

  • HTML
  • CSS
  • Vanilla JavaScript
  • VS Code
  • SheCodes Weather API
  • OpenWeatherMap API
  • Netlify

Installation and Usage

To use this app, you can either clone this repository or download the zip file.

To clone the repository, run the following command in your terminal:

git clone https://github.com/s-shemmee/Weather-App.git

Once you have cloned the repository, open the index.html file in your browser to use the app.

To use the app, simply type the name of the city you want to search for in the search bar and press the Enter key. The app will display the current weather conditions and the 5-day forecast for the searched city.

Alternatively, you can allow the app to detect your current position and display the weather conditions for your location.

To toggle between Celsius and Fahrenheit temperature units, click the "Convert to Fahrenheit" or "Convert to Celsius" link below the temperature display.

Demo

A live demo of the weather app can be found at LINK TO LIVE DEMO.

Credits

The weather app was created by s-shemmee as a final project for the SheCodes Plus workshop.

License

This project is licensed under the MIT license.

About

This is a weather app created with HTML, CSS, and vanilla JavaScript. Users can search for weather conditions of any city using SheCodes Weather API and OpenWeatherMap API, view current weather and 5-day forecast, hourly forecasts, and detect their current position.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published