Please read the reference for the Get Streams endpoint Reference | Twitch Developers as you have several important things wrong.
There’s no need to make 1 request for each streamer. The Get Streams endpoint supports up to 100 streamers per request.
That’s not the correct URL, you don’t just append the streamers username as a path to the end of the URL. You need to user the user_login querystring param.
First, don’t EVER share an OAuth token. They should be treated as like passwords and kept private, and to share them is a violation of the Developer Agreement. I’ve gone ahead and revoked the token you shared.
Secondly, as the docs show the header is Authorization, not token, and the OAuth token needs to be prefixed with Bearer when using Helix endpoints.
Finally, none of your logic seems to actually be parsing the results. The response body will contain an object, within which is a data array containing each stream object (if they’re online). You need to check within that array which streams are returned and make any modifications to your page based on that.