Twitch App cannot display all channels

Twitch App cannot display all channels
0.0 0

#1

Hello. I’ve been struggling with this for the last 3 days but cannot get the app to display all channels. At the moment I can display one. My major problem is the fact that there are 2 api links with different info access and I can’t use both.


#2

remove this code in line 45:

channels.innerHTML = "";

every time you are trying to add a new channel, this code will run and completely erase the previous html from the channels and therefore only the last will remain.

Looks like you have to fix more errors and exceptions in your program to make it fully functional.


#3

thank you. that worked well. I should have seen that.

Still more work to do. getting errors trying to put in the logo for the ‘null’ streams.


#4

u r welcome :slight_smile: