Design comparison
SolutionDesign
Solution retrospective
couldn't figure out how to limit the input to the amount I wanted
in HTML it only works for text but I used the input for numbers
Community feedback
- @lack21Posted over 1 year ago
Good job 👍, if you want to limit input to the amount you want you can set
min
andmax
attributes to it, for example if you setmin="0"
andmax="12"
number won't be less than 0 and more than 12!Marked as helpful1
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