Simple JavaScript Validation

Solution retrospective
Hello everyone! This is my Signup Form with some simple JavaScript form validation. I am open to any comments and suggestions! 😊✨
Please log in to post a comment
Log in with GitHubCommunity feedback
- @ray-mak
If you want the error icon to show up when the input fields are not properly filled out, you can use the following properties to set the icon in your input element:
background-image:
background-repeat:
background-position:
I set the initial display to hidden and then used javascript to toggle it depending on if the input fields are filled out.
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