@elaineleung
Posted
Hi Demy, well done in putting this together! The only issue for me is I can't load the next advice because of caching in Firefox, and so to fix this, try adding a header object in fetch, like this:
fetch("https://api.adviceslip.com/advice", { cache: 'no-cache' })
I would also include a cursor: pointer
with your dice so that users know it is interactive. That's all the comments I have, good work here, and hope to test this out again!
Marked as helpful
@Demyttenaere
Posted
Hi @elaineleung,
Thanks a lot for your advice! I will take your advice into account for the next challenges and will come back to this one soon!
Good coding