@loopchaves
Posted
Hi bro, nice job!
Clicking the button only loads a new advice once because the first request is cached. To solve this problem you can use fetch(url, {cache: 'no-store'})
, so when the button is clicked it will load a new advice without caching.
@a-woodworth
Posted
@loopchaves Thanks for the input. I did have some issues with Firefox but not Chrome, Edge or Safari. Made it difficult to tell if there was an issue with the code.