Design comparison
SolutionDesign
Community feedback
- @yishak621Posted almost 2 years ago
Congrats for completing the project but there are crucial things to fix ...css the counter container is not as a design so fix that when we come to the functionality part when the counter number less than 10 it shouldn't be one digit (example 9 ,8,7...) it should have 0 before the number (09,08,07) so to make that use a format function like these
//format number if they are single digit add 0 infront of function format(item) { if (item < 10) { return (item = `0${item}`); } else { return item; } }
And also even if it is big shot try to create a flip animation when the number changes ....happy coding u can use my code as a reference
0@Opeyemil-codePosted almost 2 years ago@yishak621 thanks for coming through on this one, i would try working on that
0
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