CST336 - Module 3
What did I learn in the third week of CST336?
This week we went over something a little bit more advanced, as the module introduced web API's and fetch. Basically, JavaScript uses a built-in browser function that allows a programmer to use API's from the web that store pieces of information within a JavaScript object under keys and values. The keys are named based on the general implementation of that information, like comment, author, quote, etc. and are accessed through them with the fetch function that gets the data.
In the end, this was what we learned within the lab, while implementing a website solely off a web API of our choosing, which I chose the OpenWeatherMap API for the weather based on location. On the other hand, the knowledge check for this module was really straightforward as it was over how a URL was structured and how a API can be used.
Comments
Post a Comment