Hello,
I am having some issues completing the Twitch TV challenge. I am using the https://wind-bow.gomix.me/twitch-api/ URL that was suggested. I make 2 separate calls for each entry given. The first to streams/ and the second to channels.
Streams/ tells me whose online, then channels/ gives me the rest of the data I need. Everything works fine except the online/offline part.
I have an if/else statement that assigns a string that says either “currently online” or “currently offline”.
when I console.log the data from my streams/ call, I receive exactly the data I’d expect, but for some reason my if/else block seems to only work sometimes.
Does anything jump out to anyone other than the ugly css? Here is a link to the codepen:
thanks in advance,
Cullen