Weather Forecast – Fixed Version
The Weather Forecast Application displays weather data, including temperature, humidity, and conditions, based on a city search. It supports CRUD operations for adding and removing city data and persists in local storage.
How to Test:
- Add City: Enter a city name and retrieve its weather data.
- Edit City: Modify the city’s name or data and save changes.
- Delete City: Remove a city and check that it’s deleted.
- Search: Search for weather data by city name.
- Pagination: Add over 10 cities and test pagination.
- Local Storage: Refresh the page and ensure cities are retained.
- Bugs: Test for invalid city entries, empty fields, and pagination issues.
Note: Test your debugging skills on the buggy version here.
Weather Forecast Application
# | City | Temperature (°C) | Condition | Status | Actions |
---|---|---|---|---|---|
1 | New York | 22 | Sunny | Not Viewed | |
2 | Los Angeles | 28 | Cloudy | Viewed | |
3 | Chicago | 15 | Rainy | Not Viewed | |
4 | Houston | 32 | Windy | Viewed | |
5 | San Francisco | 19 | Foggy | Not Viewed | |
6 | Miami | 30 | Sunny | Viewed | |
7 | Denver | 21 | Cloudy | Not Viewed | |
8 | Seattle | 16 | Rainy | Viewed | |
9 | Dallas | 29 | Windy | Not Viewed | |
10 | Atlanta | 26 | Sunny | Viewed |
Page 1 of 3