Krzysztof• 240
@KrzysztofLeczycki
Posted
Hey,
your app doesn't work as it should because your async function repeatedly runs after 10s, and your button does nothing.
Change or remove this setInterval(getAdvice, 10000);
I also tried modifying eventListener
and rewriting it into
btn.onclick = getAdvice;
.
Best wishes. :D
0
Swan-Yee-Tun• 225
@developedBySwan
Posted
@KrzysztofLeczycki Thanks bro. I will check it.
0