HIDE PLAYLIST

Get JSON data from an API using fetch


We will use fetch to get JSON data from an API. fetch is available globally on the window object in the browser or via libraries in other JS environments.