On the TwitchTV JSON:
Html:
[left angle bracket]a href=“https://www.twitch.tv/freecodecamp” target= “_blank”>
[left angle bracket]h3 align=“center” id=“fccStatus”>
Javascript:
$.getJSON(url,function(data1){
if(data1.stream===null){
$("#fccStatus").html(“Free code camp is offline”);} else{
$("#fccStatus").html(“Free code camp is online”);}
});
I am trying to create text that say “Free code camp is on/offline”. I have tried moving the html and changing h3 to “span”.