Skip to content

Maxtoshie/playing-around-with-apis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App 🌦️

Weather App Screenshot

A sleek weather app that allows users to check the current weather and hourly forecast for any city around the world. Users can toggle between Celsius and Fahrenheit for temperature display.


Features

  1. Search for current weather by city name.
  2. View hourly weather forecasts for the next 24 hours.
  3. Toggle between Celsius and Fahrenheit.
  4. Interactive and responsive design.

Getting Started

Prerequisites

  1. A modern web browser.
  2. An OpenWeather API key.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/playing-around-with-apis
  2. Navigate to the project directory:

    cd playing-around-with-apis
  3. Open the index.html file in your browser to run the app.

Configuration

  1. Obtain an API key from OpenWeather.
  2. Replace YOUR_ACTUAL_API_KEY in script.js with your API key.

Usage

  1. Enter a city name in the search box.
  2. Click "Search" to view the current weather and forecast.
  3. Use the toggle to switch between Celsius and Fahrenheit.

Links

  1. Video Demo: [https://www.loom.com/share/d8eb719d828c472394a97133bb97c26a?sid=0c724c44-d9ac-4b47-b4e6-21b6c0d4047d]
  2. Live Domain: [https://www.maaxboon.tech/]

Technologies Used

  1. HTML for structure.
  2. CSS for styling.
  3. JavaScript for interactivity and API calls.
  4. OpenWeather API for weather data.

Contributing

  1. Feel free to fork this repository and make contributions.
  2. Submit a pull request for review.

License

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


Author

Maaxboon
My GitHub Profile


Future Enhancements

  1. Add geolocation support to fetch weather for the user's current location.
  2. Include a 7-day weather forecast.
  3. Improve UI/UX with animations and transitions.

Releases

No releases published

Packages

No packages published