Twitch problem when clicking on buttons

Continuing the discussion from Doing json api (intermediate project):

don’t know where m getting wrong…on clicking the buttons its not working properly

please have a look at my javascript code @

I renamed your topic title to better reflect the problem you are having. It is better to put the Codepen link inside the post (as you did), but not in the title, because it can not be directly linked from the title.

Can you describe what you expect to happen when you click specific buttons and then what is actually happening when you click on the buttons? This information will help us debug your problem faster.

i have solved the problem now…initially the problem was that when i used to click on the online or offline button it wasn’t responding properly…