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.
- Search for current weather by city name.
- View hourly weather forecasts for the next 24 hours.
- Toggle between Celsius and Fahrenheit.
- Interactive and responsive design.
- A modern web browser.
- An OpenWeather API key.
-
Clone the repository:
git clone https://github.com/yourusername/playing-around-with-apis
-
Navigate to the project directory:
cd playing-around-with-apis -
Open the
index.htmlfile in your browser to run the app.
- Obtain an API key from OpenWeather.
- Replace
YOUR_ACTUAL_API_KEYinscript.jswith your API key.
- Enter a city name in the search box.
- Click "Search" to view the current weather and forecast.
- Use the toggle to switch between Celsius and Fahrenheit.
- Video Demo: [https://www.loom.com/share/d8eb719d828c472394a97133bb97c26a?sid=0c724c44-d9ac-4b47-b4e6-21b6c0d4047d]
- Live Domain: [https://www.maaxboon.tech/]
- HTML for structure.
- CSS for styling.
- JavaScript for interactivity and API calls.
- OpenWeather API for weather data.
- Feel free to fork this repository and make contributions.
- Submit a pull request for review.
This project is licensed under the MIT License. See the LICENSE file for details.
Maaxboon
My GitHub Profile
- Add geolocation support to fetch weather for the user's current location.
- Include a 7-day weather forecast.
- Improve UI/UX with animations and transitions.
