Shiva• 670
@shivaprakash-sudo
Posted
Hello Dimitri,
The Advice API caches the data for 2 seconds, this makes the app not work on Firefox and make the advices delay in other browsers. To overcome this issue, you just need to add { cache: "no-cache" }
as the second argument to the fetch
method.
Also, try to wrap the content inside a main
tag, to make the code more semantic.
Happy coding!
Marked as helpful
0
Dimitri• 530
@DimitriTsikaridze
Posted
@shivaprakash-sudo Thanks for feedback, appreciate it.
0