Twitch App (Javascript feedback)

I’d like some feedback on my JS, this is the first time I’ve tried using async/await and when I set up the first request in my fetchUrl function I was amazed but I feel like I made it a little messy in the fetchStreamers function later on and I ran into a lot of difficulty gettting the final call for the game data.

Anyway here she is.

amazing! great job!!!

Thanks Sarah!

I like what you did here Randell, I think you forgot to throw this ${streamerOutput} in the return statement but I get what you’re going for.

I really like the ternary operator, I had no idea you could pass two arguments in like that! I went searching through MDN docs and saw “You can also do more than one operation during the assignation of a value. In this case, the last comma-separated value of the parenthesis will be the value to be assigned.” Very cool! Thanks for teaching me something I’m sure will come in handy.