@FarisPalayi
Posted
The problem here lies on the background-position
property. For example, give it a value like center right 7px
to always make it center on the vertical axis, and 7px far from the right.
Marked as helpful
@DrZubby
Posted
@FarisPalayi
wow. great idea although I have already made some adjustments to my html, css and js files to fix these issues, however I'll sure experiment with this your suggestion. Meanwhile, can you recommend any resource(s) for learning validation with regex?
@FarisPalayi
Posted
@DrZubby Yeah sure, take a look at this guide from MDN Client-side form validation even though it doesn't focus on regex, it's a great article to learn client side validation. Also, take a look at, this article from sitepoint Client-Side Form Validation with HTML5