Fylo data

Solution retrospective
There are some edge cases I didn't consider, which might lead to mistakes. Currently, the bar can dynamically change, but it's not accurate. The key thing I'm trying to figure out is how to convert pixels into percentages. I believe that's the concept that will make this accurate. Any insights on this would be greatly appreciated!
Additionally:
- I recommend uploading multiple files by clicking the second icon, so you can immediately see the changes.
- I've attempted to use getPropertyValue() from computedStyle(), but it also considers the padding, leading to some confusing results that I'm struggling to understand."
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Nature Son's solution.
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