Hit a bit of a wall with this project. If I call the function
apiCall by itself then it works fine, as soon as I try and add an Event Listener and then call the function
apiCall then the fetch API doesn’t work at all.
Link to project - https://codepen.io/Pagey/pen/wrZRqR
Any ideas why this is?