This is a straightforward weather application that enables users to check the current weather in any city around the globe. It retrieves real-time weather information from the wttr.in API and presents details like temperature, weather conditions, humidity, and wind speed.
- Look up weather information by city name
- Show current temperature, weather conditions, humidity, and wind speed
- User-friendly and straightforward interface
- Utilizes real-time data from the
wttr.inAPI
- HTML: Used to build the structure of the web page.
- CSS: Responsible for styling the app and enhancing its visual appeal.
- JavaScript: Utilized for retrieving weather data from the API and dynamically updating the page.
- wttr.in API: The external API employed to obtain real-time weather information.
- Open the index.html file in your preferred web browser.
- Type a city name into the search box to check the weather for that area, or click the "Use Current Location" button to view the weather for your current spot.
- The application utilizes JavaScript to retrieve weather data from the wttr.in API.
- It subsequently refreshes the weather details displayed on the screen, incorporating information such as temperature, humidity, and wind speed.
- All API requests are conducted over HTTPS, and there is no need for an API key.
Weather data provided by wttr.in.
- API Usage: This app uses the wttr.in API, which provides weather data without the need for an API key. The API request format looks like this: https://wttr.in/{city_name}?format=j1
This README.md file is straightforward and easy to understand, and includes all the key information about the weather app. You can modify the content or include additional details as necessary!