Thanks. I'm in the process of reading a JavaScript book:
https://eloquentjavascript.net/I think I need to look at event handling and like you say network requests. I'm trying to capture JSON responses that are loaded when you scroll down a page. I intend to process these further but have no idea how to capture them in the first place. I can see them in the network tab and manually copy them and process them like that. I'm able to copy as fetch, run the request again, and display the JSON in the web console, but I'm a complete beginner at this sort of thing.