Design comparison
SolutionDesign
Solution retrospective
I spent some time researching how to keep the text from exceeding the display range, and in the end I chose :
Limit the number of digits entered Reduce the length by displaying overflow calculations as scientific notation (exponentiation).
I know that a better solution would be to dynamically adjust the font size, but I haven't found a way to do that.
Community feedback
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