https://github.com/amsa2002/public-api-weather
Display a weather using public API
https://github.com/amsa2002/public-api-weather
bootstrap css dom html javascript
Last synced: 3 months ago
JSON representation
Display a weather using public API
- Host: GitHub
- URL: https://github.com/amsa2002/public-api-weather
- Owner: amsa2002
- Created: 2024-02-02T11:00:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-02T11:03:07.000Z (over 2 years ago)
- Last Synced: 2025-02-14T22:17:59.564Z (over 1 year ago)
- Topics: bootstrap, css, dom, html, javascript
- Language: JavaScript
- Homepage: https://public-api-weather.vercel.app
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Restcountries & Weather Web Application
This web application uses the Restcountries API to display information about countries and allows users to get weather information for a selected country.
## Features
- Fetches country data from the Restcountries API (name, capital, region, subregion, population, flag, etc.).
- Displays country details in a card layout with an option to get weather information.
- Uses the OpenWeatherMap API to retrieve weather data for the selected country.
- Styled using Bootstrap and custom CSS.
## Usage
1. Open the `index.html` file in a web browser.
2. The application will fetch country data and display it in cards.
3. Click the "Click for Weather" button on a card to get weather information for the respective country.
## APIs Used
- [Restcountries API](https://restcountries.com/)
- [OpenWeatherMap API](https://openweathermap.org/)