Submitted almost 3 years ago
HTML, CSS radio buttons, JavaScript 'input' change event
@saodinh
Design comparison
SolutionDesign
Community feedback
- @whoiskekeanywayPosted almost 3 years ago
Why did you preselect 15% and choose 1 for the number of people? when the user enters 0, the app should say, "Can't be Zero
0@saodinhPosted almost 3 years agoWell, that is just my own idea, I thought to myself "What if the users input something insensible like negative numbers on the bill field, the custom field and the number of people field?". So i add error states to all 3 fields with a red border. I agreed that I didn't follow the design strictly but that can easily be fixed. I just like my way better.
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