For this exercise, we will use data from the AlphaVantage API. Specifically we will use the "Consumer Price Index (CPI)" endpoint. CPI is "widely regarded as the barometer of inflation levels in the broader economy". Consult the API documentation to learn more.
First obtain an AlphaVantage API Key (from the API sign up form, or from an instructor), and supply it when prompted.
Write JavaScript code to answer the questions below. Log each of the answers to the console.
Write JavaScript code to answer the questions below. Display the answers on the page in the designated areas.