Weather Journal App
- This project requires you to create an asynchronous web app that uses Web API and user data to dynamically update the UI.
- This project is constructed with HTML, CSS as well as JavaScript.
- The design is responsive on all screens.
- I Created API credentials on OpenWeatherMap.com.
- I Added an event listener to an existing HTML button from DOM using Vanilla JS.
- Then I passed to a fetch call a URL to website api
- Data is successfully returned from the external API.
- The client side function takes two arguments, the URL to make a POST to, and an object holding the data to POST.
- A GET route setup is on the server side with the first argument as a string naming the route, and the second argument a callback function to return the JS object created at the top of server code with data stored in it.
- Retrieved data is set to HTML elements from the DOM using Vanilla JavaScript.
References :-
- MDN Website
Presented by :-
- Ibrahim Ahmed