Twitch Api: I can't show offline and online users

Hello, I am trying to display who is online and who is offline but I can’t think of a solution.
This is my codePen url:

I will delete this topic once my problem gets fixed. Thanks.

4 posts were merged into an existing topic: Twitch API: It returns undefined and I can’t find the solution (SOLVED)