cloneNode duplicating all nodes

I am trying to cloneNode Twitch channels depending on there status (Streaming Live/Off-line) into different TABS of my HTML. The issue is that, my code is duplicating all the channels into all the tabs whatever the status is. Below is my project on codepen:

Thanks in advance for your help friends

Maybe you already fixed it - when i opened your codepen the tabs were sorted as you want them to.

1 Like

Hi @borisyordanov,

Yes I fixed it two hours ago. Couldn’t sleep last night thinking about it. When I woke up, I fixed it right away :slight_smile:

Thanks a lot for looking at it anyway!!!