Can someone please explain this error?

Hey all. Working on my twitch TV api app, and I’m trying to get my JQuery to populate a list of links which contain the images for the streamers. On line 22 I’m trying to insert a link/image nested within a list item, but I keep getting this error that says "unexpected string."

Here is a link to my pen. Thanks for any help!

You’re missing a + symbol here…

src="+data.logo"></a></li>");

should be

src="+data.logo+"></a></li>");
1 Like

Thanks! That took care of the error, but the logos are still not going into the list. Not sure what the problem is

You created a function called populateStreamerLogoList, but you have not call it like:

populateStreamerLogoList();
1 Like