tip-calculator-app-main

Please log in to post a comment
Log in with GitHubCommunity feedback
- @AndresOreVel
Good design. In the bill input, you can limit it to 10 digits by adding a maxlength="10" attribute. This way, the layout doesn't break when more digits are entered. You have an overflow in the price when the screen is very small. You can fix it by adding this: font-size: clamp(1rem, 0.75rem + 3vw, 2.5rem); This way, you can control the minimum and maximum font sizes when changing the screen size. You can place the JavaScript script in the HTML header with the "defer" attribute. This way, it will load in the background when the HTML file is launched.
Marked as helpful
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