NW6 | nazanin saedi | Module JS3 | JavaScript challenges | Weather challenges| week-3 #16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Title
Weather Data Visualisation
Explanation
In this task, you're tasked with creating a weather data visualization app that fetches weather information from OpenWeatherMap and displays corresponding images from Unsplash. The app should allow users to input a city and see the current weather along with matching images.
Example Result
Given the input "London", the app should display the current weather conditions in London along with images matching the weather description, such as sunny skies, rainy days, or snowy landscapes.
Prior Knowledge
To complete this task, students should have a basic understanding of HTML, CSS, and JavaScript. They should know how to work with APIs, make fetch requests, and handle JSON data. Additionally, familiarity with event handling and DOM manipulation will be helpful in building the interactive features of the app.
Advanced Challenges
1.Implement autocomplete functionality for the city input field, fetching city suggestions from a separate API.
2.Add a feature to display a 5-day weather forecast for the selected city.
3.Enhance the UI by adding animations or transitions when loading weather data and images.
4.Implement a feature to allow users to save their favorite cities and view weather information for multiple locations simultaneously.
5.Incorporate geolocation to automatically detect and display weather information for the user's current location.