- Overview
- Acceptance Criteria
- Application Demo
- Links
- Built with
- What I learned
- Future Development
- Useful resources
- Author
- Acknowledgements
-
This application was built to consolidate Server APIs knowledge;
- A weather dashboard that runs in the browser and features dynamically updated HTML and CSS
-
5 Day Weather Forecast was used to retrieve weather data for cities
The app functionality:
-
When a user searches for a city they are presented with current and future conditions for that city and that city is added to the search history
-
When a user views the current weather conditions for that city they are presented with:
- The city name
- The date
- An icon representation of weather conditions
- The temperature
- The humidity
- The wind speed
-
When a user views future weather conditions for that city they are presented with a 5-day forecast that displays:
- The date
- An icon representation of weather conditions
- The temperature
- The humidity
-
When a user clicks on a city in the search history they are again presented with current and future conditions for that city
-
Satisfies all the above, plus the following:
-
Uses the OpenWeather API to retrieve weather data.
-
Uses
localStorage
to store persistent data.
-
The following animation demonstrates the application functionality:
-
You will be able to acces the app URL if you navigate into Settings → Pages inside this repository
-
Or, click on this link: Weather Dashboard
-
HTML
-
CSS
-
JavaScript
-
Moment.js
-
Server APIs
-
Accessing the data from a backend server (access to information stored in databases) and fetch it on-demand to update my apps
-
The concept of server-side APIs and the use of AJAX queries to retrieve and parse data in the JSON format;
- Access data on RESTful web APIs using AJAX calls
- Understand and utilize the concept and utility of APIs and JSON in web applications
- Build endpoint URLs to a variety of APIs
- Worked with the OMDb and Giphy APIs to build data-rich applications
- Process returned data to isolate key elements that you'll use with JavaScript logic
- Generate page elements based on API responses
-
The most challenging part of this project was correctly accessing desired data by building endpoint URLs
-
The key message is to always read the Docs and test the data before proceeding further
- Specify to the user, that the city data has to be written with a capital letter
©️ 2023 Helena Gilja. All Rights Reserved.
- GitHub - cyberrie
✨ Big thanks to my tutor Dane for answering all my questions during this project! ✨