Submitted over 2 years ago
Advice generator app (w/ typewriter + die spin animation)
@hyde-brendan
Design comparison
SolutionDesign
Solution retrospective
Any feedback appreciated!
There's a bug where generating a new advice slip while a typewriter animation is still ongoing causes the new message to write out twice as quickly. I believe it's because of multiple typewriter functions running asynchronously because of setTimeout()
, but I don't know how to fix it without also forcing the user to wait until the typewriter animation fully completes. Any tips for how to resolve this issue would be greatly appreciated!
Join 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