The purpose of this assignment is to create a webpage that extracts dynamic data i.e. that which is regularly changing from the Internet and presents it to the user nicely organized and formatted. Examples of such information might include:
The current world population
The Dow Jones Industrial Average
The present temperature in a given zip-code
The number of Google searches conducted today
The U.S. national debt
The barrels of oil pumped today
The liters of wine produced today
The cans of Coca Cola drunk today in the U.S.
The number of text messages sent today
The number of Facebook posts today
Your page should include at least five such statistics (you can choose different one instead) obtained from as many distinct websites. To be clear, this is an exercise in algorithmically interrogating a webpage or webserver and getting the desired information. (No credit will be given for manually finding the information and pasting it into a webpage.) Your page should display all statistics displayed upon loading the page, and update them upon the click of a button. It should also display the time at which the data was last retrieved.
Two strategies for obtaining this data are
algorithmically interrogating the third-party webpages where this information is already being displayed (e.g. by traversing the DOM)
querying a third-party API where it is available
There is no specific format for the way the data should be presented, although it should adhere to good UI/UX practices discussed in class last week. Also, the source (URL) of each data should be indicated, somewhere alongside the data itself.
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference
and should not be submitted as is. We are not held liable for any misuse of the solutions.
Please see the frequently asked questions page
for further questions and inquiries.
Kindly complete the form.
Please provide a valid email address and we will get back to you within 24 hours.
Payment is through PayPal, Buy me a Coffee
or Cryptocurrency.
We are a nonprofit organization however we need funds to keep this organization operating
and to be able to complete our research and development projects.