@shivaprakash-sudo
Posted
Hello PaletteJack,
The site looks good and is responsive, but it doesn't work in Firefox after the initial advice is loaded. This is because of the Advice API caching the data when we fetch it, this can be avoided by putting { cache: "no-cache" }
as a second argument inside the fetch
method.
Regarding the initial advice, you don't need to use back-end for that, you can do it directly on client side using the same getAdvice
method on window.onload
function.
You did good for your first time, keep up the spirit and good luck on your next projects.
Marked as helpful