this is my random “not quote but oblique strategies” machine link:
This is far from perfect of course, would love to hear some suggestions on how to improve the page, especially around these following issues:
How do I minimize the lag whenever users press the “get strategy” button? is there any particular order in writing the jquery code that I need to follow? (will get.json as the first function will make it faster?)
I used JQuery on.click function to change the background color every time a user click the “get strategy” button, how to apply radial-gradiant to these background ? my main background has gradient in it but not the colors called from JQuery code.
How to apply transition between strategies? I tried $(".strategy").fadeout(3000); but it doesnt seem to work, tried fadeIn too.
At first, I couldn’t get the $.getJson to work, I watched a bunch of video about this, figured out I need to use JsonP(which I still dont get), and then,
I peeked into anthom’s[https://codepen.io/anthom/full/jmZOGd] code and I notice he put a URL(https://zippy-thorn.glitch.me/) before the api resource url. I snatched the code and got it to work what is this? I tried following the link on glitch, but still cant understand it.
I’ve got more questions but I think ill ask more later, thank you for your reply.