Twitch Streamers App Problem

I am having trouble with the Twitch App. As of right now, my code is not adding the offline-icon class to offline users. My guess is the problem has something to do with these lines:

if ( == null) {
   $('#' + users[i]).addClass('offline-icon');

Here’s a link to my pen:


I don’t find the code you mention in you pen, only this:

$(document).ready(function() {
  var users = ["freecodecamp", "trymacs"];
  var links = {
    $.getJSON('' + val, function(data) {

I already changed it. Still having trouble, but I’m trying a new approach. Thanks!