Changing Color of an Event

Changing Color of an Event


I’m trying to change the status of something to green if the channel is online, and have remain red if offline… How would I go about doing that in JQuery?

Here’s a link to my codepen:


Thank you. I won’t be home for a couple of hrs. Would that work in this case? Could you perhaps test it. I believe I did something similar to no avail.