Design comparison
SolutionDesign
Solution retrospective
• I tried to add an animation to the numbers with a for loop, the idea was that it would start at 0 and would increase to the predicted value in the data.json, but I couldn't, if anyone knows how to do it I would be grateful!
Any feedback will be appreciate. 😜💕
Community feedback
- @buneeIsSloPosted over 2 years ago
Hey! @othiagomoreira, Great job on the challenge. The only thing you're page is missing is
focus
styles on the report buttonsTo achieve that animation you should look into
setInterval()
orrequestAnimationFrame()
. You could also use CountUp.js.Hope this helps :)
Marked as helpful0
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