Hello guys, i am doing the twitch tv project, but can i ask you how to assign the values of the array into the api variables? Here is my code until now and what i am trying to do:
$(document).ready(function(){
const twitchChannels = ["ESL_SC2", "OgamingSC2", "cretetion", "freecodecamp", "storbeck", "habathcx", "RobotCaleb", "noobs2ninjas"]
var api1 = "https://wind-bow.gomix.me/twitch-api/users" + twitchChannels[i]
var api2 = "https://wind-bow.gomix.me/twitch-api/channels" + twitchChannels[i]
var api3 = "https://wind-bow.gomix.me/twitch-api/streams" + twitchChannels[i]
$.getJSON(api1, function(data1){
for (i = 0; i < twitchChannels.length; i++){
alert(data1.name);
}
})//json1 end
hi again, i made this for on this https://codepen.io/Stivi7/pen/prwbEv?editors=1011 but want to make the icons and the descriptions to stay inline with each other and also the status check is always offline, i think the if statement is ok, can you take a look please?