@mutantspore that works! :D do you also the gray color when you click for the very first time, after the app is loaded?
I'm trying to assign a JSON object that I got from an API to a variable to make my life easier, but it seems that no matter what I do it doesn't get assigned, I just can't figure out what I'm doing wrong, can anyone help?
postData = JSON.stringify(json);
@Abazhenov it wil get assigned. put the console.log(postData); inside the getjson and you’ll see it
it’s because it’s an asynchronous process
@mutantspore does that mean that I need to write any code that uses the new value of the postData inside of that function as well?
yes.. you can make it nicer by writing the code outside in a function of it’s own but then calling that from within teh getjson.
@mutantspore gotcha, thank you!
abazhenov sends brownie points to @mutantspore :sparkles: :thumbsup: :sparkles: