@uzairK134Submitted about 2 years ago
Vasile Cosmin
@VasileCosminAll comments
- @VasileCosminPosted about 2 years ago
Hi Uzair! The solution is good. But if you want to get a new advice, everytime you click on the dice, add this code:
fetch('https://api.adviceslip.com/advice', { cache: 'no-store' })
1