7 lines
227 B
JavaScript
7 lines
227 B
JavaScript
|
// api used is at https://api.adviceslip.com
|
||
|
// specifically https://api.adviceslip.com/advice
|
||
|
// which takes a callback parameter
|
||
|
// advice is cached for 2 seconds
|
||
|
// so my plan is to disable the button for those
|
||
|
// 2 seconds
|