Design comparison
SolutionDesign
Solution retrospective
I have created this solution for a random advice generator with vanilla javascript and tailwind CSS. Now I have tested it on all device but on the mobile device, it's a little bit slow and works when I double tap on the generator button? how I can fix this?
Community feedback
- @2501-rgbPosted over 2 years ago
To answer your question regarding the performance =>
Its probably because the adviceslip API has a 2 second "cooldown" before you can make another request, anti spam protection : )
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord